Last active
January 25, 2019 18:51
-
-
Save jamiekt/4ab5b7c979b16a02160070fc466bda83 to your computer and use it in GitHub Desktop.
Using the depends_on attribute
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
resource "google_bigquery_table" "view2"{ | |
dataset_id = "${google_bigquery_dataset.dataset1.dataset_id}" | |
table_id = "view2" | |
view { | |
query = "select * from `${var.project}.dataset1.view1`" | |
use_legacy_sql = false | |
depends_on = ["google_bigquery_table.view1"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment