Skip to content

Instantly share code, notes, and snippets.

@jamiekt
Created January 25, 2019 18:22
Show Gist options
  • Select an option

  • Save jamiekt/e913dacb6945ce403912f6dca7a8d1e5 to your computer and use it in GitHub Desktop.

Select an option

Save jamiekt/e913dacb6945ce403912f6dca7a8d1e5 to your computer and use it in GitHub Desktop.
view2 with interpolation expression
resource "google_bigquery_table" "view2"{
dataset_id = "${google_bigquery_dataset.dataset1.dataset_id}"
table_id = "view2"
view {
query = "select * from `${google_bigquery_table.view1.project}.${google_bigquery_table.view1.dataset_id}.${google_bigquery_table.view1.table_id}`"
use_legacy_sql = false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment