terraform-google-modules/terraform-google-bigquery

Resource creation ordering

tpolekhin opened this issue · 1 comments

TL;DR

When trying to create a dataset with 2 tables, a routine and a view that uses those tables and the routine function it sometimes can fail because resources are created in the random order.

Terraform Resources

google_bigquery_table

Detailed design

add depends_on = [ google_bigquery_table.main, google_bigquery_routine.routine ] to google_bigquery_table.view resource.

Additional information

No response