From 6c91e071e0132ad85806d8785f289c0c927b174b Mon Sep 17 00:00:00 2001 From: Etienne Chabert Date: Mon, 19 Dec 2022 17:17:41 +0100 Subject: [PATCH 1/2] Fix default value --- variables.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/variables.tf b/variables.tf index c2372cb4..a6d1dc10 100644 --- a/variables.tf +++ b/variables.tf @@ -166,7 +166,7 @@ variable "multi_az" { variable "iops" { description = "The amount of provisioned IOPS. Setting this implies a storage_type of 'io1'" type = number - default = 0 + default = null } variable "publicly_accessible" { From e8392e9b85aadcb937b76722933e807a0f8e3285 Mon Sep 17 00:00:00 2001 From: Etienne Chabert Date: Mon, 19 Dec 2022 17:17:52 +0100 Subject: [PATCH 2/2] Update docs --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d5e2750d..890b3988 100644 --- a/README.md +++ b/README.md @@ -278,7 +278,7 @@ Users have the ability to: | [identifier](#input\_identifier) | The name of the RDS instance | `string` | n/a | yes | | [instance\_class](#input\_instance\_class) | The instance type of the RDS instance | `string` | `null` | no | | [instance\_use\_identifier\_prefix](#input\_instance\_use\_identifier\_prefix) | Determines whether to use `identifier` as is or create a unique identifier beginning with `identifier` as the specified prefix | `bool` | `false` | no | -| [iops](#input\_iops) | The amount of provisioned IOPS. Setting this implies a storage\_type of 'io1' | `number` | `0` | no | +| [iops](#input\_iops) | The amount of provisioned IOPS. Setting this implies a storage\_type of 'io1' | `number` | `null` | no | | [kms\_key\_id](#input\_kms\_key\_id) | The ARN for the KMS encryption key. If creating an encrypted replica, set this to the destination KMS ARN. If storage\_encrypted is set to true and kms\_key\_id is not specified the default KMS key created in your account will be used. Be sure to use the full ARN, not a key alias. | `string` | `null` | no | | [license\_model](#input\_license\_model) | License model information for this DB instance. Optional, but required for some DB engines, i.e. Oracle SE1 | `string` | `null` | no | | [maintenance\_window](#input\_maintenance\_window) | The window to perform maintenance in. Syntax: 'ddd:hh24:mi-ddd:hh24:mi'. Eg: 'Mon:00:00-Mon:03:00' | `string` | `null` | no |