File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
5252
5353# workaround for https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4478
5454resource "time_sleep" "wait_for_authorization_policy" {
55+ count = local. create_cross_account_auth_policy ? 1 : 0
5556 depends_on = [ibm_iam_authorization_policy . kms_policy ]
5657 create_duration = " 30s"
5758}
@@ -195,6 +196,7 @@ data "ibm_en_destinations" "en_destinations" {
195196
196197# workaround for https://github.com/IBM-Cloud/terraform-provider-ibm/issues/5533
197198resource "time_sleep" "wait_for_secrets_manager" {
199+ count = var. enable_event_notification ? 1 : 0
198200 depends_on = [module . secrets_manager ]
199201
200202 create_duration = " 30s"
You can’t perform that action at this time.
0 commit comments