diff --git a/README.md b/README.md index 971fb8de..0ca73b54 100644 --- a/README.md +++ b/README.md @@ -154,7 +154,7 @@ You need the following permissions to run this module. | [resource\_group\_id](#input\_resource\_group\_id) | The resource group ID where resources will be provisioned. | `string` | n/a | yes | | [resource\_key\_existing\_serviceid\_crn](#input\_resource\_key\_existing\_serviceid\_crn) | CRN of existing serviceID to bind with resource key to be created. If null a new ServiceID is created for the resource key. | `string` | `null` | no | | [retention\_default](#input\_retention\_default) | Specifies default duration of time an object that can be kept unmodified for COS bucket. Only used if 'create\_cos\_bucket' is true. | `number` | `90` | no | -| [retention\_enabled](#input\_retention\_enabled) | Retention enabled for COS bucket. Only used if 'create\_cos\_bucket' is true. | `bool` | `true` | no | +| [retention\_enabled](#input\_retention\_enabled) | Retention enabled for COS bucket. Only used if 'create\_cos\_bucket' is true. | `bool` | `false` | no | | [retention\_maximum](#input\_retention\_maximum) | Specifies maximum duration of time an object that can be kept unmodified for COS bucket. Only used if 'create\_cos\_bucket' is true. | `number` | `350` | no | | [retention\_minimum](#input\_retention\_minimum) | Specifies minimum duration of time an object must be kept unmodified for COS bucket. Only used if 'create\_cos\_bucket' is true. | `number` | `90` | no | | [retention\_permanent](#input\_retention\_permanent) | Specifies a permanent retention status either enable or disable for COS bucket. Only used if 'create\_cos\_bucket' is true. | `bool` | `false` | no | diff --git a/module-metadata.json b/module-metadata.json index 7994c099..88478b1d 100644 --- a/module-metadata.json +++ b/module-metadata.json @@ -418,7 +418,7 @@ "name": "retention_enabled", "type": "bool", "description": "Retention enabled for COS bucket. Only used if 'create_cos_bucket' is true.", - "default": true, + "default": false, "pos": { "filename": "variables.tf", "line": 151 diff --git a/variables.tf b/variables.tf index 1ad8c098..c298f2d0 100644 --- a/variables.tf +++ b/variables.tf @@ -151,7 +151,7 @@ variable "management_endpoint_type_for_bucket" { variable "retention_enabled" { description = "Retention enabled for COS bucket. Only used if 'create_cos_bucket' is true." type = bool - default = true + default = false } variable "retention_default" {