Skip to content

Commit 2c88fdb

Browse files
authored
fix: add fix to prevent timing issue around KMS auth policy (#199)
1 parent dd819a8 commit 2c88fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ data "ibm_resource_instance" "sm_instance" {
3434
# Create Secrets Manager Instance
3535
resource "ibm_resource_instance" "secrets_manager_instance" {
3636
count = var.existing_sm_instance_crn == null ? 1 : 0
37-
depends_on = [ibm_iam_authorization_policy.kms_policy]
37+
depends_on = [time_sleep.wait_for_authorization_policy]
3838
name = var.secrets_manager_name
3939
service = "secrets-manager"
4040
plan = var.sm_service_plan

0 commit comments

Comments
 (0)