diff --git a/internal/service/rds/consts.go b/internal/service/rds/consts.go index 9cca79e89f2..a9692c76027 100644 --- a/internal/service/rds/consts.go +++ b/internal/service/rds/consts.go @@ -25,6 +25,7 @@ const ( const ( storageTypeStandard = "standard" + storageTypeGP3 = "gp3" storageTypeGP2 = "gp2" storageTypeIO1 = "io1" ) @@ -32,6 +33,7 @@ const ( func StorageType_Values() []string { return []string{ storageTypeStandard, + storageTypeGP3, storageTypeGP2, storageTypeIO1, } diff --git a/website/docs/r/db_instance.html.markdown b/website/docs/r/db_instance.html.markdown index 5c4fa1f8104..32a5d1b9442 100644 --- a/website/docs/r/db_instance.html.markdown +++ b/website/docs/r/db_instance.html.markdown @@ -198,7 +198,7 @@ RDS console, e.g: rds:production-2015-06-26-06-05. encrypted. Note that if you are creating a cross-region read replica this field is ignored and you should instead declare `kms_key_id` with a valid ARN. The default is `false` if not specified. -* `storage_type` - (Optional) One of "standard" (magnetic), "gp2" (general +* `storage_type` - (Optional) One of "standard" (magnetic), "gp3" / "gp2" (general purpose SSD), or "io1" (provisioned IOPS SSD). The default is "io1" if `iops` is specified, "gp2" if not. * `tags` - (Optional) A map of tags to assign to the resource. If configured with a provider [`default_tags` configuration block](https://registry.terraform.io/providers/hashicorp/aws/latest/docs#default_tags-configuration-block) present, tags with matching keys will overwrite those defined at the provider-level.