Skip to content

Commit 4203bcd

Browse files
Ak-skyshemau
andauthored
test: fixed KP keys to avoid conflicts (#570)
Co-authored-by: shemau <[email protected]>
1 parent 1cc3131 commit 4203bcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/complete/main.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ module "postgresql_db" {
112112
# Example of how to use different KMS keys for data and backups
113113
use_ibm_owned_encryption_key = false
114114
use_same_kms_key_for_backups = false
115-
kms_key_crn = module.key_protect_all_inclusive.keys["icd-pg.${var.prefix}-pg"].crn
116-
backup_encryption_key_crn = module.key_protect_all_inclusive.keys["icd-pg.${local.data_key_name}"].crn
115+
kms_key_crn = module.key_protect_all_inclusive.keys["icd-pg.${local.data_key_name}"].crn
116+
backup_encryption_key_crn = module.key_protect_all_inclusive.keys["icd-pg.${local.backups_key_name}"].crn
117117
resource_tags = var.resource_tags
118118
service_credential_names = {
119119
"postgressql_admin" : "Administrator",

0 commit comments

Comments
 (0)