Skip to content

Add project argument to pubsub_topic, service_account, project_iam_cu… #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pubsub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 2 additions & 0 deletions service_account.tf
Original file line number Diff line number Diff line change
@@ -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" {
Expand All @@ -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" {
Expand Down