Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit 6ce8b9a

Browse files
terraform-ibm-modules-opsSteve Peggs
andauthored
chore(deps): update terraform terraform-ibm-modules/key-protect-all-inclusive/ibm to v4.6.0 (#103)
* 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 71ad5b9 commit 6ce8b9a

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,12 +16,21 @@ 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
region = var.region
2222
key_protect_instance_name = "${var.prefix}-kp"
2323
resource_tags = var.resource_tags
24-
key_map = { "icd-etcd" = ["${var.prefix}-etcd"] }
24+
keys = [
25+
{
26+
key_ring_name = "icd-etcd"
27+
keys = [
28+
{
29+
key_name = "${var.prefix}-etcd"
30+
}
31+
]
32+
}
33+
]
2534
}
2635

2736
##############################################################################
@@ -38,7 +47,7 @@ module "etcd_db" {
3847
admin_pass = var.admin_pass
3948
users = var.users
4049
kms_key_crn = module.key_protect_all_inclusive.keys["icd-etcd.${var.prefix}-etcd"].crn
41-
existing_kms_instance_guid = module.key_protect_all_inclusive.key_protect_guid
50+
existing_kms_instance_guid = module.key_protect_all_inclusive.kms_guid
4251
tags = var.resource_tags
4352
access_tags = var.access_tags
4453
service_credential_names = var.service_credential_names

0 commit comments

Comments
 (0)