v4.5.0
·
200 commits
to main
since this release
4.5.0 (2024-01-31)
Features (#400) (0148340)
-
The following variables have been removed
force_delete
,force_delete_key_ring
,existing_key_map
, as its now possible to pass them as part of a new input variable list calledkeys
. This has replaced the old variableskey_map
andexisting_key_map
as it supports creating key in existing and new key rings using a boolean. See updated usage on how to consume module.
Current infrastructure will not be impacted when updating to this version if migration to new usage is done correctly. For example:In previous versions:
key_map = { "key-ring-name-1" = ["key-1", "key-2"] } existing_key_map = { "key-ring-name-2" = ["key-3", "key-4"] }
In this version:
keys = [ { key_ring_name = "key-ring-name-1" keys = [ { key_name = "key-1" }, { key_name = "key-2" } ] }, { key_ring_name = "key-ring-name-2" existing_key_ring = true keys = [ { key_name = "key-3" }, { key_name = "key-4" } ] } ]
In addition, the output of the module has changed to now only have one "keys" output. below is an example of how the output has changed:
Older versions:
module.kms_all_inclusive.keys["key-ring-name-1.key-1"] module.kms_all_inclusive.keys["key-ring-name-1.key-2"] module.kms_all_inclusive.existing_key_ring_keys["existing-key-ring.key-3"] module.kms_all_inclusive.existing_key_ring_keys["existing-key-ring.key-4"] module.kms_all_inclusive.key_protect_guid
This version:
module.kms_all_inclusive.keys["key-ring-name-1.key-1"] module.kms_all_inclusive.keys["key-ring-name-1.key-2"] module.kms_all_inclusive.keys["existing-key-ring.key-3"] module.kms_all_inclusive.keys["existing-key-ring.key-4"] module.kms_all_inclusive.kms_guid