File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -108,6 +108,10 @@ resource "google_pubsub_subscription_iam_member" "pull_subscription_binding" {
108
108
depends_on = [
109
109
google_pubsub_subscription . pull_subscriptions ,
110
110
]
111
+
112
+ lifecycle {
113
+ replace_triggered_by = [google_pubsub_subscription . pull_subscriptions ]
114
+ }
111
115
}
112
116
113
117
resource "google_pubsub_subscription_iam_member" "push_subscription_binding" {
@@ -120,6 +124,10 @@ resource "google_pubsub_subscription_iam_member" "push_subscription_binding" {
120
124
depends_on = [
121
125
google_pubsub_subscription . push_subscriptions ,
122
126
]
127
+
128
+ lifecycle {
129
+ replace_triggered_by = [google_pubsub_subscription . push_subscriptions ]
130
+ }
123
131
}
124
132
125
133
resource "google_pubsub_subscription_iam_member" "bigquery_subscription_binding" {
@@ -454,6 +462,10 @@ resource "google_pubsub_subscription_iam_member" "pull_subscription_sa_binding_s
454
462
depends_on = [
455
463
google_pubsub_subscription . pull_subscriptions ,
456
464
]
465
+
466
+ lifecycle {
467
+ replace_triggered_by = [google_pubsub_subscription . pull_subscriptions ]
468
+ }
457
469
}
458
470
459
471
resource "google_pubsub_subscription_iam_member" "pull_subscription_sa_binding_viewer" {
@@ -466,4 +478,8 @@ resource "google_pubsub_subscription_iam_member" "pull_subscription_sa_binding_v
466
478
depends_on = [
467
479
google_pubsub_subscription . pull_subscriptions ,
468
480
]
481
+
482
+ lifecycle {
483
+ replace_triggered_by = [google_pubsub_subscription . pull_subscriptions ]
484
+ }
469
485
}
You can’t perform that action at this time.
0 commit comments