diff --git a/third_party/terraform/tests/resource_pubsub_topic_test.go b/third_party/terraform/tests/resource_pubsub_topic_test.go index 6014f6c9196b..7f1914f72c50 100644 --- a/third_party/terraform/tests/resource_pubsub_topic_test.go +++ b/third_party/terraform/tests/resource_pubsub_topic_test.go @@ -88,7 +88,7 @@ resource "google_project_iam_member" "kms-project-binding" { resource "google_pubsub_topic" "topic" { name = "%s" - project = "${data.google_project.project.project_id}" + project = "${google_project_iam_member.kms-project-binding.project}" kms_key_name = "%s" } `, pid, topicName, kmsKey)