Skip to content

Commit

Permalink
fix: notification topic not include project name (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks authored Jul 12, 2022
1 parent 423d174 commit 46c7711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/storage/pubsub/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ resource "google_pubsub_topic_iam_member" "gcp_publisher" {

resource "google_storage_notification" "file_storage" {
bucket = var.bucket
topic = google_pubsub_topic.file_storage.name
topic = google_pubsub_topic.file_storage.id
payload_format = "JSON_API_V1"

depends_on = [google_pubsub_topic_iam_member.gcp_publisher]
Expand Down

0 comments on commit 46c7711

Please sign in to comment.