From bac6c3d3c11386f5996fe43852ff9ab178bc86b3 Mon Sep 17 00:00:00 2001 From: Hayden B Date: Fri, 26 Jan 2024 13:19:39 -0800 Subject: [PATCH] Fix pubsub topic IAM policy From https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/pubsub_topic_iam, need to assign policy data Signed-off-by: Hayden B --- terraform/gcp/modules/pubsub_topic/pubsub.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terraform/gcp/modules/pubsub_topic/pubsub.tf b/terraform/gcp/modules/pubsub_topic/pubsub.tf index 5f841dc7c..804801543 100644 --- a/terraform/gcp/modules/pubsub_topic/pubsub.tf +++ b/terraform/gcp/modules/pubsub_topic/pubsub.tf @@ -33,5 +33,5 @@ data "google_iam_policy" "topic_iam" { resource "google_pubsub_topic_iam_policy" "topic_iam" { project = google_pubsub_topic.topic.project topic = google_pubsub_topic.topic.name - policy_data = data.google_iam_policy.topic_iam + policy_data = data.google_iam_policy.topic_iam.policy_data }