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 b844489 commit 351adbaCopy full SHA for 351adba
solutions/standard/main.tf
@@ -65,7 +65,7 @@ module "kms" {
65
providers = {
66
ibm = ibm.kms
67
}
68
- count = var.existing_kms_key_crn != null ? 0 : 1 # no need to create any KMS resources if passing an existing key
+ count = var.existing_kms_key_crn != null || local.use_existing_db_instance ? 0 : 1 # no need to create any KMS resources if passing an existing key
69
source = "terraform-ibm-modules/kms-all-inclusive/ibm"
70
version = "4.15.8"
71
create_key_protect_instance = false
0 commit comments