File tree Expand file tree Collapse file tree 7 files changed +28
-6
lines changed
Expand file tree Collapse file tree 7 files changed +28
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ You need the following permissions to run this module.
5050| Name | Version |
5151| ------| ---------|
5252| <a name =" requirement_terraform " ></a > [ terraform] ( #requirement\_ terraform ) | >= 1.0.0 |
53- | <a name =" requirement_ibm " ></a > [ ibm] ( #requirement\_ ibm ) | >= 1.49 .0 |
53+ | <a name =" requirement_ibm " ></a > [ ibm] ( #requirement\_ ibm ) | >= 1.58 .0 |
5454
5555### Modules
5656
@@ -67,6 +67,7 @@ No modules.
6767| Name | Description | Type | Default | Required |
6868| ------| -------------| ------| ---------| :--------:|
6969| <a name =" input_endpoint_type " ></a > [ endpoint\_ type] ( #input\_ endpoint\_ type ) | The type of endpoint to be used for creating keys. Accepts 'public' or 'private' | ` string ` | ` "public" ` | no |
70+ | <a name =" input_force_delete " ></a > [ force\_ delete] ( #input\_ force\_ delete ) | Set to ` true ` if you wish to force delete the kms key rings, else ` false ` . | ` bool ` | ` true ` | no |
7071| <a name =" input_instance_id " ></a > [ instance\_ id] ( #input\_ instance\_ id ) | The KMS instance GUID | ` string ` | n/a | yes |
7172| <a name =" input_key_ring_id " ></a > [ key\_ ring\_ id] ( #input\_ key\_ ring\_ id ) | The ID that identifies the Key Ring. Each ID is unique within the given KMS instance but is not reserved across the KMS service | ` string ` | n/a | yes |
7273
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 # Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
55 ibm = {
66 source = " IBM-Cloud/ibm"
7- version = " 1.49 .0"
7+ version = " 1.58 .0"
88 }
99 }
1010}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 # Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works
55 ibm = {
66 source = " IBM-Cloud/ibm"
7- version = " 1.49 .0"
7+ version = " 1.58 .0"
88 }
99 }
1010}
Original file line number Diff line number Diff line change @@ -6,4 +6,5 @@ resource "ibm_kms_key_rings" "key_ring" {
66 endpoint_type = var. endpoint_type
77 instance_id = var. instance_id
88 key_ring_id = var. key_ring_id
9+ force_delete = var. force_delete
910}
Original file line number Diff line number Diff line change 1616 "immutable" : true ,
1717 "computed" : true
1818 },
19+ "force_delete" : {
20+ "name" : " force_delete" ,
21+ "type" : " bool" ,
22+ "description" : " Set to `true` if you wish to force delete the kms key rings, else `false`." ,
23+ "default" : true ,
24+ "source" : [
25+ " ibm_kms_key_rings.key_ring.force_delete"
26+ ],
27+ "pos" : {
28+ "filename" : " variables.tf" ,
29+ "line" : 20
30+ }
31+ },
1932 "instance_id" : {
2033 "name" : " instance_id" ,
2134 "type" : " string" ,
4457 ],
4558 "pos" : {
4659 "filename" : " variables.tf" ,
47- "line" : 20
60+ "line" : 26
4861 },
4962 "immutable" : true ,
5063 "min_length" : 2 ,
7184 "ibm" : {
7285 "source" : " IBM-Cloud/ibm" ,
7386 "version_constraints" : [
74- " \u003e = 1.49 .0"
87+ " \u003e = 1.58 .0"
7588 ]
7689 }
7790 },
8295 "name" : " key_ring" ,
8396 "attributes" : {
8497 "endpoint_type" : " endpoint_type" ,
98+ "force_delete" : " force_delete" ,
8599 "instance_id" : " instance_id" ,
86100 "key_ring_id" : " key_ring_id"
87101 },
Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ variable "instance_id" {
1717 description = " The KMS instance GUID"
1818}
1919
20+ variable "force_delete" {
21+ type = bool
22+ description = " Set to `true` if you wish to force delete the kms key rings, else `false`."
23+ default = true
24+ }
25+
2026variable "key_ring_id" {
2127 type = string
2228 description = " The ID that identifies the Key Ring. Each ID is unique within the given KMS instance but is not reserved across the KMS service"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ terraform {
44 # Use "greater than or equal to" range in modules
55 ibm = {
66 source = " IBM-Cloud/ibm"
7- version = " >= 1.49 .0"
7+ version = " >= 1.58 .0"
88 }
99 }
1010}
You can’t perform that action at this time.
0 commit comments