Skip to content

Commit 8c5fdd5

Browse files
terraform-ibm-modules-opsSteve Peggs
andauthored
chore(deps): update terraform terraform-ibm-modules/key-protect-all-inclusive/ibm to v4.6.0 (#118)
* chore(deps): update terraform terraform-ibm-modules/key-protect-all-inclusive/ibm to v4.6.0 * fix: inputs and outputs on kms * SKIP UPGRADE TEST --------- Co-authored-by: Steve Peggs <[email protected]>
1 parent 85c24fb commit 8c5fdd5

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

examples/complete/main.tf

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,23 @@ module "resource_group" {
1616

1717
module "key_protect_all_inclusive" {
1818
source = "terraform-ibm-modules/key-protect-all-inclusive/ibm"
19-
version = "4.4.2"
19+
version = "4.6.0"
2020
resource_group_id = module.resource_group.resource_group_id
2121
# Note: Database instance and Key Protect must be created in the same region when using BYOK
2222
# See https://cloud.ibm.com/docs/cloud-databases?topic=cloud-databases-key-protect&interface=ui#key-byok
2323
region = var.region
2424
key_protect_instance_name = "${var.prefix}-kp"
2525
resource_tags = var.resource_tags
26-
key_map = { "icd" = ["${var.prefix}-rabbitmq"] }
26+
keys = [
27+
{
28+
key_ring_name = "icd"
29+
keys = [
30+
{
31+
key_name = "${var.prefix}-rabbitmq"
32+
}
33+
]
34+
}
35+
]
2736
}
2837

2938
##############################################################################
@@ -76,7 +85,7 @@ module "icd_rabbitmq" {
7685
instance_name = "${var.prefix}-rabbitmq"
7786
region = var.region
7887
kms_encryption_enabled = true
79-
existing_kms_instance_guid = module.key_protect_all_inclusive.key_protect_guid
88+
existing_kms_instance_guid = module.key_protect_all_inclusive.kms_guid
8089
service_credential_names = var.service_credential_names
8190
admin_pass = var.admin_pass
8291
users = var.users

0 commit comments

Comments
 (0)