Skip to content

Commit

Permalink
Add explicity dependency on IAM in PubSub acc test config (#9921)
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench authored Mar 13, 2024
1 parent 6fc834e commit ec1164c
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -446,10 +446,15 @@ resource "google_pubsub_subscription" "foo" {
name = "%s"
topic = google_pubsub_topic.foo.id
bigquery_config {
table = "${google_bigquery_table.test.project}.${google_bigquery_table.test.dataset_id}.${google_bigquery_table.test.table_id}"
use_table_schema = %t
}
bigquery_config {
table = "${google_bigquery_table.test.project}.${google_bigquery_table.test.dataset_id}.${google_bigquery_table.test.table_id}"
use_table_schema = %t
}
depends_on = [
google_project_iam_member.viewer,
google_project_iam_member.editor
]
}
`, dataset, table, topic, subscription, useTableSchema)
}
Expand Down

0 comments on commit ec1164c

Please sign in to comment.