Skip to content

Commit

Permalink
Update cloud_services.tf
Browse files Browse the repository at this point in the history
trying to fix volumes pending_deletion
  • Loading branch information
dprosper committed Apr 14, 2021
1 parent 2a2f61a commit 80eba16
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vpc-cockroachdb-mzr/cloud_services.tf
Expand Up @@ -11,6 +11,10 @@ resource "ibm_kp_key" "key_protect" {
key_name = "${var.resources_prefix}-kp-data"
standard_key = false
force_delete = true

# Addresses an issue where the volumes would go into pending_deletion
# if the access policy are deleted before the instance
depends_on = [ ibm_iam_authorization_policy.policy ]
}

resource "ibm_iam_authorization_policy" "policy" {
Expand Down

0 comments on commit 80eba16

Please sign in to comment.