From a2ed450af0ff6648a27c9b03fefd673ec280a8b1 Mon Sep 17 00:00:00 2001 From: Zack Chadwick <> Date: Fri, 25 Apr 2025 10:22:17 -0400 Subject: [PATCH] Add project argument to pubsub_topic, service_account, project_iam_custom_role --- pubsub.tf | 1 + service_account.tf | 2 ++ 2 files changed, 3 insertions(+) diff --git a/pubsub.tf b/pubsub.tf index 240241d..cf615a8 100644 --- a/pubsub.tf +++ b/pubsub.tf @@ -17,6 +17,7 @@ resource "google_cloud_asset_folder_feed" "folder_feed" { resource "google_pubsub_topic" "feed_output" { name = var.topic_name + project = var.project_id message_retention_duration = var.message_retention_duration labels = var.labels diff --git a/service_account.tf b/service_account.tf index 23b3229..92f2efb 100644 --- a/service_account.tf +++ b/service_account.tf @@ -1,6 +1,7 @@ resource "google_service_account" "service_account" { account_id = var.service_account_id display_name = var.service_account_display_name + project = var.project_id } resource "google_folder_iam_binding" "folder_binding" { @@ -27,6 +28,7 @@ resource "google_project_iam_custom_role" "enrichment_project_role" { ] role_id = var.project_role_id title = var.project_role_title + project = var.project_id } resource "google_cloud_run_service_iam_binding" "enrichment_permissions" {