From 25b12f0902d033fd10a899745d634cdde8f0a1f9 Mon Sep 17 00:00:00 2001 From: Nim Jayawardena Date: Tue, 17 Dec 2024 11:56:35 -0500 Subject: [PATCH] fix: Add depends_on to Eventarc trigger --- main.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.tf b/main.tf index 0949b9f..5dbb9a5 100644 --- a/main.tf +++ b/main.tf @@ -179,6 +179,10 @@ resource "google_eventarc_trigger" "trigger" { region = var.region } } + + depends_on = [ + google_project_iam_member.eventarc_agent, + ] } resource "google_project_iam_member" "trigger" {