We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee5d8e8 commit 78f0620Copy full SHA for 78f0620
main.tf
@@ -73,6 +73,7 @@ resource "ibm_iam_authorization_policy" "kms_policy" {
73
74
# workaround for https://github.com/IBM-Cloud/terraform-provider-ibm/issues/4478
75
resource "time_sleep" "wait_for_authorization_policy" {
76
+ count = var.existing_sm_instance_crn == null ? 1 : 0
77
depends_on = [ibm_iam_authorization_policy.kms_policy, ibm_iam_authorization_policy.en_policy]
78
79
create_duration = "30s"
0 commit comments