From a13e88d1d75c548edbae9189fd0d8914d9549a1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20S=C3=A9hier?= Date: Mon, 18 Jan 2021 18:31:23 +0100 Subject: [PATCH] fix: documentation for default storage type --- README.md | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c040e48c..e275d3fa 100644 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ No provider. | skip\_final\_snapshot | Determines whether a final DB snapshot is created before the DB instance is deleted. If true is specified, no DBSnapshot is created. If false is specified, a DB snapshot is created before the DB instance is deleted, using the value from final\_snapshot\_identifier | `bool` | `true` | no | | snapshot\_identifier | Specifies whether or not to create this database from a snapshot. This correlates to the snapshot ID you'd find in the RDS console, e.g: rds:production-2015-06-26-06-05. | `string` | `""` | no | | storage\_encrypted | Specifies whether the DB instance is encrypted | `bool` | `false` | no | -| storage\_type | One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'standard' if not. Note that this behaviour is different from the AWS web console, where the default is 'gp2'. | `string` | `"gp2"` | no | +| storage\_type | One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'gp2' if not. | `string` | `"gp2"` | no | | subnet\_ids | A list of VPC subnet IDs | `list(string)` | `[]` | no | | tags | A mapping of tags to assign to all resources | `map(string)` | `{}` | no | | timeouts | (Optional) Updated Terraform resource management timeouts. Applies to `aws_db_instance` in particular to permit resource management times | `map(string)` |
{
"create": "40m",
"delete": "40m",
"update": "80m"
}
| no | diff --git a/variables.tf b/variables.tf index e8d8e431..29c5c366 100644 --- a/variables.tf +++ b/variables.tf @@ -9,7 +9,7 @@ variable "allocated_storage" { } variable "storage_type" { - description = "One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'standard' if not. Note that this behaviour is different from the AWS web console, where the default is 'gp2'." + description = "One of 'standard' (magnetic), 'gp2' (general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'gp2' if not." type = string default = "gp2" }