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 fdd0add commit 37290f7Copy full SHA for 37290f7
main.tf
@@ -79,10 +79,10 @@ locals {
79
########################################################################################################################
80
81
module "kms_key_crn_parser" {
82
- count = local.create_kms_auth_policy ? 1 : 0
+ count = var.kms_encryption_enabled ? 1 : 0
83
source = "terraform-ibm-modules/common-utilities/ibm//modules/crn-parser"
84
version = "1.2.0"
85
- crn = var.kms_key_crn
+ crn = var.kms_key_crn != null ? var.kms_key_crn : ""
86
}
87
88
# Create auth policy (scoped to exact KMS key)
0 commit comments