diff --git a/README.md b/README.md index d5ba672..bbb02aa 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ You need the following permissions to run this module. | Name | Version | |------|---------| | [terraform](#requirement\_terraform) | >= 1.0.0 | -| [ibm](#requirement\_ibm) | >= 1.58.0, < 2.0.0 | +| [ibm](#requirement\_ibm) | >= 1.69.0, < 2.0.0 | ### Modules @@ -67,7 +67,6 @@ No modules. | Name | Description | Type | Default | Required | |------|-------------|------|---------|:--------:| | [endpoint\_type](#input\_endpoint\_type) | The type of endpoint to be used for creating keys. Accepts 'public' or 'private' | `string` | `"public"` | no | -| [force\_delete](#input\_force\_delete) | Set to `true` if you wish to force delete the kms key rings, else `false`. | `bool` | `false` | no | | [instance\_id](#input\_instance\_id) | The KMS instance GUID | `string` | n/a | yes | | [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 | diff --git a/examples/basic/main.tf b/examples/basic/main.tf index 1f31f73..5649d5a 100644 --- a/examples/basic/main.tf +++ b/examples/basic/main.tf @@ -3,8 +3,7 @@ ############################################################################## module "kms_key_ring" { - source = "../.." - instance_id = var.existing_kms_instance_guid - key_ring_id = "${var.prefix}-key-ring" - force_delete = true # Setting it to true for testing purpose + source = "../.." + instance_id = var.existing_kms_instance_guid + key_ring_id = "${var.prefix}-key-ring" } diff --git a/examples/basic/version.tf b/examples/basic/version.tf index d744e56..1bbad7f 100644 --- a/examples/basic/version.tf +++ b/examples/basic/version.tf @@ -4,7 +4,7 @@ terraform { # Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works ibm = { source = "IBM-Cloud/ibm" - version = "1.58.0" + version = "1.69.0" } } } diff --git a/examples/complete/version.tf b/examples/complete/version.tf index ea5edc3..1486bad 100644 --- a/examples/complete/version.tf +++ b/examples/complete/version.tf @@ -4,7 +4,7 @@ terraform { # Pin to the lowest provider version of the range defined in the main module's version.tf to ensure lowest version still works ibm = { source = "IBM-Cloud/ibm" - version = ">= 1.58.0" + version = ">= 1.69.0" } } } diff --git a/main.tf b/main.tf index 4995323..86febb8 100644 --- a/main.tf +++ b/main.tf @@ -6,5 +6,4 @@ resource "ibm_kms_key_rings" "key_ring" { endpoint_type = var.endpoint_type instance_id = var.instance_id key_ring_id = var.key_ring_id - force_delete = var.force_delete } diff --git a/variables.tf b/variables.tf index eee51b0..66a8e5e 100644 --- a/variables.tf +++ b/variables.tf @@ -17,12 +17,6 @@ variable "instance_id" { description = "The KMS instance GUID" } -variable "force_delete" { - type = bool - description = "Set to `true` if you wish to force delete the kms key rings, else `false`." - default = false -} - variable "key_ring_id" { type = string 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" diff --git a/version.tf b/version.tf index a19b79f..3ec7f01 100644 --- a/version.tf +++ b/version.tf @@ -4,7 +4,7 @@ terraform { # Use "greater than or equal to" range in modules ibm = { source = "IBM-Cloud/ibm" - version = ">= 1.58.0, < 2.0.0" + version = ">= 1.69.0, < 2.0.0" } } }