You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -202,6 +202,7 @@ Users have the ability to:
202
202
203
203
1. This module does not create RDS security group. Use [terraform-aws-security-group](https://github.com/terraform-aws-modules/terraform-aws-security-group) module for this.
204
204
2. By default, the variable `create_random_password` is set to true. Therefore, even if the user provides a password, it will not be read. The `create_random_password` variable should be set to false and the `password` variable should have a non-null value to be read and used.
205
+
3. For an RDS instance with `storage_type` using `gp3`, be aware that `iops` and `storage_throughput` cannot be specified if the `allocated_storage` value is below a per-`engine` threshold. See the [RDS User Guide](https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/CHAP_Storage.html#gp3-storage) for details.
205
206
206
207
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Copy file name to clipboardExpand all lines: modules/db_instance/README.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ No modules.
64
64
| <aname="input_iam_database_authentication_enabled"></a> [iam\_database\_authentication\_enabled](#input\_iam\_database\_authentication\_enabled)| Specifies whether or mappings of AWS Identity and Access Management (IAM) accounts to database accounts is enabled |`bool`|`false`| no |
65
65
| <aname="input_identifier"></a> [identifier](#input\_identifier)| The name of the RDS instance |`string`| n/a | yes |
66
66
| <aname="input_instance_class"></a> [instance\_class](#input\_instance\_class)| The instance type of the RDS instance |`string`|`null`| no |
67
-
| <aname="input_iops"></a> [iops](#input\_iops)| The amount of provisioned IOPS. Setting this implies a storage\_type of 'io1' |`number`|`null`| no |
67
+
| <aname="input_iops"></a> [iops](#input\_iops)| The amount of provisioned IOPS. Setting this implies a storage\_type of 'io1' or `gp3`. See `notes` for limitations regarding this variable for `gp3`|`number`|`null`| no |
68
68
| <aname="input_kms_key_id"></a> [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 |`string`|`null`| no |
69
69
| <aname="input_license_model"></a> [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 |
70
70
| <aname="input_maintenance_window"></a> [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 |
@@ -91,7 +91,7 @@ No modules.
91
91
| <aname="input_skip_final_snapshot"></a> [skip\_final\_snapshot](#input\_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 |`bool`|`false`| no |
92
92
| <aname="input_snapshot_identifier"></a> [snapshot\_identifier](#input\_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`|`null`| no |
93
93
| <aname="input_storage_encrypted"></a> [storage\_encrypted](#input\_storage\_encrypted)| Specifies whether the DB instance is encrypted |`bool`|`true`| no |
94
-
| <aname="input_storage_throughput"></a> [storage\_throughput](#input\_storage\_throughput)| Storage throughput value for the DB instance. This setting applies only to the `gp3` storage type. |`number`|`null`| no |
94
+
| <aname="input_storage_throughput"></a> [storage\_throughput](#input\_storage\_throughput)| Storage throughput value for the DB instance. This setting applies only to the `gp3` storage type. See `notes` for limitations regarding this variable for `gp3`|`number`|`null`| no |
95
95
| <aname="input_storage_type"></a> [storage\_type](#input\_storage\_type)| One of 'standard' (magnetic), 'gp2' (general purpose SSD), 'gp3' (new generation of general purpose SSD), or 'io1' (provisioned IOPS SSD). The default is 'io1' if iops is specified, 'gp2' if not. If you specify 'io1' or 'gp3' , you must also include a value for the 'iops' parameter |`string`|`null`| no |
96
96
| <aname="input_tags"></a> [tags](#input\_tags)| A mapping of tags to assign to all resources |`map(string)`|`{}`| no |
97
97
| <aname="input_timeouts"></a> [timeouts](#input\_timeouts)| Updated Terraform resource management timeouts. Applies to `aws_db_instance` in particular to permit resource management times |`map(string)`|`{}`| no |
Copy file name to clipboardExpand all lines: modules/db_instance/variables.tf
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ variable "storage_type" {
28
28
}
29
29
30
30
variable"storage_throughput" {
31
-
description="Storage throughput value for the DB instance. This setting applies only to the `gp3` storage type."
31
+
description="Storage throughput value for the DB instance. This setting applies only to the `gp3` storage type. See `notes` for limitations regarding this variable for `gp3`"
32
32
type=number
33
33
default=null
34
34
}
@@ -178,7 +178,7 @@ variable "multi_az" {
178
178
}
179
179
180
180
variable"iops" {
181
-
description="The amount of provisioned IOPS. Setting this implies a storage_type of 'io1'"
181
+
description="The amount of provisioned IOPS. Setting this implies a storage_type of 'io1' or `gp3`. See `notes` for limitations regarding this variable for `gp3`"
0 commit comments