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
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -270,7 +270,7 @@ Users have the ability to:
270
270
| <aname="input_family"></a> [family](#input\_family)| The family of the DB parameter group |`string`|`null`| no |
271
271
| <aname="input_final_snapshot_identifier_prefix"></a> [final\_snapshot\_identifier\_prefix](#input\_final\_snapshot\_identifier\_prefix)| The name which is prefixed to the final snapshot on cluster destroy |`string`|`"final"`| no |
272
272
| <aname="input_iam_database_authentication_enabled"></a> [iam\_database\_authentication\_enabled](#input\_iam\_database\_authentication\_enabled)| Specifies whether or not the mappings of AWS Identity and Access Management (IAM) accounts to database accounts are enabled |`bool`|`false`| no |
273
-
| <aname="input_identifier"></a> [identifier](#input\_identifier)| The name of the RDS instance, if omitted, Terraform will assign a random, unique identifier|`string`| n/a | yes |
273
+
| <aname="input_identifier"></a> [identifier](#input\_identifier)| The name of the RDS instance |`string`| n/a | yes |
274
274
| <aname="input_instance_class"></a> [instance\_class](#input\_instance\_class)| The instance type of the RDS instance |`string`|`null`| no |
275
275
| <aname="input_iops"></a> [iops](#input\_iops)| The amount of provisioned IOPS. Setting this implies a storage\_type of 'io1' |`number`|`0`| no |
276
276
| <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 |
@@ -312,7 +312,7 @@ Users have the ability to:
312
312
| <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 |
313
313
| <aname="input_timezone"></a> [timezone](#input\_timezone)| Time zone of the DB instance. timezone is currently only supported by Microsoft SQL Server. The timezone can only be set on creation. See MSSQL User Guide for more information |`string`|`null`| no |
314
314
| <aname="input_username"></a> [username](#input\_username)| Username for the master DB user |`string`|`null`| no |
315
-
| <aname="input_vpc_security_group_ids"></a> [vpc\_security\_group\_ids](#input\_vpc\_security\_group\_ids)| List of VPC security groups to associate |`list(string)`|`null`| no |
315
+
| <aname="input_vpc_security_group_ids"></a> [vpc\_security\_group\_ids](#input\_vpc\_security\_group\_ids)| List of VPC security groups to associate |`list(string)`|`[]`| no |
Copy file name to clipboardExpand all lines: UPGRADE-4.0.md
+26-8Lines changed: 26 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -6,35 +6,43 @@ If you find a bug, please open an issue with supporting configuration to reprodu
6
6
7
7
## List of backwards incompatible changes
8
8
9
-
- Support for Terraform <=v0.12.x has been dropped; v0.13.1 is now the minimum supported version
9
+
- Support for Terraform `<=v0.12.x` has been dropped; `v0.13.1` is now the minimum supported version
10
+
- Terraform AWS provider minimum version is now `v4.0.0` in order to support the replacement of `var.name`(deprecated) for `var.db_name`
11
+
- Separate RDS instance resource for MSSQL/SQLServer has been removed - all engines are supported under one resource
10
12
-`storage_encrypted` is now set to `true` by default; was previously `false`
11
13
-`create_random_password` is now set to `true` by default; was previously `false`
12
-
-`random_password_length` is now set to 16 by default, was previously 10
14
+
-`create_db_subnet_group` is now set to `false` by default; was previously `true`; typically a shared DB subnet group will be used, most likely from the VPC module
15
+
-`random_password_length` is now set to `16` by default, was previously `10`
16
+
- Random provider minimum version supported is now `v3.1.0`
17
+
-`final_snapshot_identifier` no longer coalesces `var.final_snapshot_identifier` and instead relies on `var.final_snapshot_identifier_prefix` with a random suffix to avoid name collisions
13
18
14
19
## Additional changes
15
20
16
21
### Added
17
22
18
23
-`latest_restorable_time` added to ignored changes
19
-
-`restore_to_point_in_time` attribute added to MSSQL instance
24
+
-`replica_mode` support added to DB instance
20
25
21
26
### Modified
22
27
23
-
- AWS provider minimum supported version raised to v3.62 to support new attribute added
24
-
-`password` is now set to `null` by default; was previously `""`
25
-
- Outputs updated to use `try()` function
26
28
-`username`, `password`, and `engine` are set to `null` when a `replicate_source_db` or `snapshot_identifier` is provided; these values are already provided in the respective source
29
+
-`engine_version` is set to `null` when a value is provided for `replicate_source_db`
27
30
-`db_subnet_group_name` has been updated to use full name when prefix is enabled
31
+
-`Name` tag removed from instance resource; name is set via `identifier` and not through tags; users can add back into the tags they provide if desired
32
+
- Outputs have been updated to use `try()` syntax; local variable usage has been removed within outputs
`parameter_group_description`, `option_group_name`, `option_group_description` is now set to `null` by default; was previously `""`
35
+
-`timeouts` is now set to `{}` by default; was previously a copy+paste of default value used by provider. This is a no-op but will show up in plans as a diff
28
36
29
37
### Variable and output changes
30
38
31
39
1. Removed variables:
32
40
33
-
-None
41
+
-`final_snapshot_identifier`
34
42
35
43
2. Renamed variables:
36
44
37
-
-None
45
+
-`name` (deprecated) -> `db_name`
38
46
39
47
3. Added variables:
40
48
@@ -88,3 +96,13 @@ module "asg" {
88
96
storage_encrypted = false
89
97
}
90
98
```
99
+
100
+
#### MSSQL/SQLServer
101
+
102
+
For MSSSQL/SQLServer, users will want to rename the resource in their Terraform state to align with the flattened DB instance resource module in v4.x:
103
+
104
+
```bash
105
+
terraform state mv 'module.<module-name>.module.db_instance.aws_db_instance.this_mssql[0]''module.<module-name>.module.db_instance.aws_db_instance.this[0]'
106
+
```
107
+
108
+
Where `<module-name>` is the name of your module definition.
0 commit comments