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
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -290,12 +290,12 @@ No resources.
290
290
| <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 |
291
291
| <aname="input_major_engine_version"></a> [major\_engine\_version](#input\_major\_engine\_version)| Specifies the major version of the engine that this option group should be associated with |`string`|`null`| no |
292
292
| <aname="input_manage_master_user_password"></a> [manage\_master\_user\_password](#input\_manage\_master\_user\_password)| Set to true to allow RDS to manage the master user password in Secrets Manager |`bool`|`true`| no |
293
-
| <aname="input_manage_master_user_password_rotation"></a> [manage\_master\_user\_password\_rotation](#input\_manage\_master\_user\_password\_rotation)| Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. Setting this value to false after previously having been set to true will disable automatic rotation. |`bool`|`false`| no |
293
+
| <aname="input_manage_master_user_password_rotation"></a> [manage\_master\_user\_password\_rotation](#input\_manage\_master\_user\_password\_rotation)| Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. There is not currently a way to disable this initially. Setting this value to false after previously having been set to true will disable automatic rotation. |`bool`|`false`| no |
294
294
| <aname="input_master_user_password_rotate_immediately"></a> [master\_user\_password\_rotate\_immediately](#input\_master\_user\_password\_rotate\_immediately)| Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. |`bool`|`null`| no |
295
295
| <aname="input_master_user_password_rotation_automatically_after_days"></a> [master\_user\_password\_rotation\_automatically\_after\_days](#input\_master\_user\_password\_rotation\_automatically\_after\_days)| Specifies the number of days between automatic scheduled rotations of the secret. Either automatically\_after\_days or schedule\_expression must be specified. |`number`|`null`| no |
296
296
| <aname="input_master_user_password_rotation_duration"></a> [master\_user\_password\_rotation\_duration](#input\_master\_user\_password\_rotation\_duration)| The length of the rotation window in hours. For example, 3h for a three hour window. |`string`|`null`| no |
297
297
| <aname="input_master_user_password_rotation_schedule_expression"></a> [master\_user\_password\_rotation\_schedule\_expression](#input\_master\_user\_password\_rotation\_schedule\_expression)| A cron() or rate() expression that defines the schedule for rotating your secret. Either automatically\_after\_days or schedule\_expression must be specified. |`string`|`null`| no |
298
-
| <aname="input_master_user_secret_kms_key_id"></a> [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id)| The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.<br> If not specified, the default KMS key for your Amazon Web Services account is used. |`string`|`null`| no |
298
+
| <aname="input_master_user_secret_kms_key_id"></a> [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id)| The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.<br/> If not specified, the default KMS key for your Amazon Web Services account is used. |`string`|`null`| no |
299
299
| <aname="input_max_allocated_storage"></a> [max\_allocated\_storage](#input\_max\_allocated\_storage)| Specifies the value for Storage Autoscaling |`number`|`0`| no |
300
300
| <aname="input_monitoring_interval"></a> [monitoring\_interval](#input\_monitoring\_interval)| The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60 |`number`|`0`| no |
301
301
| <aname="input_monitoring_role_arn"></a> [monitoring\_role\_arn](#input\_monitoring\_role\_arn)| The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring\_interval is non-zero |`string`|`null`| no |
@@ -315,7 +315,7 @@ No resources.
315
315
| <aname="input_parameter_group_name"></a> [parameter\_group\_name](#input\_parameter\_group\_name)| Name of the DB parameter group to associate or create |`string`|`null`| no |
316
316
| <aname="input_parameter_group_use_name_prefix"></a> [parameter\_group\_use\_name\_prefix](#input\_parameter\_group\_use\_name\_prefix)| Determines whether to use `parameter_group_name` as is or create a unique name beginning with the `parameter_group_name` as the prefix |`bool`|`true`| no |
317
317
| <aname="input_parameters"></a> [parameters](#input\_parameters)| A list of DB parameters (map) to apply |`list(map(string))`|`[]`| no |
318
-
| <aname="input_password"></a> [password](#input\_password)| Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file.<br> The password provided will not be used if `manage_master_user_password` is set to true. |`string`|`null`| no |
318
+
| <aname="input_password"></a> [password](#input\_password)| Password for the master DB user. Note that this may show up in logs, and it will be stored in the state file.<br/> The password provided will not be used if `manage_master_user_password` is set to true. |`string`|`null`| no |
319
319
| <aname="input_performance_insights_enabled"></a> [performance\_insights\_enabled](#input\_performance\_insights\_enabled)| Specifies whether Performance Insights are enabled |`bool`|`false`| no |
320
320
| <aname="input_performance_insights_kms_key_id"></a> [performance\_insights\_kms\_key\_id](#input\_performance\_insights\_kms\_key\_id)| The ARN for the KMS key to encrypt Performance Insights data |`string`|`null`| no |
321
321
| <aname="input_performance_insights_retention_period"></a> [performance\_insights\_retention\_period](#input\_performance\_insights\_retention\_period)| The amount of time in days to retain Performance Insights data. Valid values are `7`, `731` (2 years) or a multiple of `31`|`number`|`7`| no |
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
@@ -81,12 +81,12 @@ No modules.
81
81
| <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 |
82
82
| <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 |
83
83
| <aname="input_manage_master_user_password"></a> [manage\_master\_user\_password](#input\_manage\_master\_user\_password)| Set to true to allow RDS to manage the master user password in Secrets Manager. Cannot be set if password is provided |`bool`|`true`| no |
84
-
| <aname="input_manage_master_user_password_rotation"></a> [manage\_master\_user\_password\_rotation](#input\_manage\_master\_user\_password\_rotation)| Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. Setting this value to false after previously having been set to true will disable automatic rotation. |`bool`|`false`| no |
84
+
| <aname="input_manage_master_user_password_rotation"></a> [manage\_master\_user\_password\_rotation](#input\_manage\_master\_user\_password\_rotation)| Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. There is not currently a way to disable this initially. Setting this value to false after previously having been set to true will disable automatic rotation. |`bool`|`false`| no |
85
85
| <aname="input_master_user_password_rotate_immediately"></a> [master\_user\_password\_rotate\_immediately](#input\_master\_user\_password\_rotate\_immediately)| Specifies whether to rotate the secret immediately or wait until the next scheduled rotation window. |`bool`|`null`| no |
86
86
| <aname="input_master_user_password_rotation_automatically_after_days"></a> [master\_user\_password\_rotation\_automatically\_after\_days](#input\_master\_user\_password\_rotation\_automatically\_after\_days)| Specifies the number of days between automatic scheduled rotations of the secret. Either automatically\_after\_days or schedule\_expression must be specified. |`number`|`null`| no |
87
87
| <aname="input_master_user_password_rotation_duration"></a> [master\_user\_password\_rotation\_duration](#input\_master\_user\_password\_rotation\_duration)| The length of the rotation window in hours. For example, 3h for a three hour window. |`string`|`null`| no |
88
88
| <aname="input_master_user_password_rotation_schedule_expression"></a> [master\_user\_password\_rotation\_schedule\_expression](#input\_master\_user\_password\_rotation\_schedule\_expression)| A cron() or rate() expression that defines the schedule for rotating your secret. Either automatically\_after\_days or schedule\_expression must be specified. |`string`|`null`| no |
89
-
| <aname="input_master_user_secret_kms_key_id"></a> [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id)| The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.<br> If not specified, the default KMS key for your Amazon Web Services account is used. |`string`|`null`| no |
89
+
| <aname="input_master_user_secret_kms_key_id"></a> [master\_user\_secret\_kms\_key\_id](#input\_master\_user\_secret\_kms\_key\_id)| The key ARN, key ID, alias ARN or alias name for the KMS key to encrypt the master user password secret in Secrets Manager.<br/> If not specified, the default KMS key for your Amazon Web Services account is used. |`string`|`null`| no |
90
90
| <aname="input_max_allocated_storage"></a> [max\_allocated\_storage](#input\_max\_allocated\_storage)| Specifies the value for Storage Autoscaling |`number`|`0`| no |
91
91
| <aname="input_monitoring_interval"></a> [monitoring\_interval](#input\_monitoring\_interval)| The interval, in seconds, between points when Enhanced Monitoring metrics are collected for the DB instance. To disable collecting Enhanced Monitoring metrics, specify 0. The default is 0. Valid Values: 0, 1, 5, 10, 15, 30, 60. |`number`|`0`| no |
92
92
| <aname="input_monitoring_role_arn"></a> [monitoring\_role\_arn](#input\_monitoring\_role\_arn)| The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to CloudWatch Logs. Must be specified if monitoring\_interval is non-zero. |`string`|`null`| no |
# There is not currently a way to disable secret rotation on an initial apply.
214
+
# In order to use master password secrets management without a rotation, the following workaround can be used:
215
+
# `manage_master_user_password_rotation` must be set to true first and applied followed by setting it to false and another apply.
216
+
# Note: when setting `manage_master_user_password_rotation` to true, a schedule must also be set using `master_user_password_rotation_schedule_expression` or `master_user_password_rotation_automatically_after_days`.
description="Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. Setting this value to false after previously having been set to true will disable automatic rotation."
480
+
description="Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. There is not currently a way to disable this initially. Setting this value to false after previously having been set to true will disable automatic rotation."
description="Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. Setting this value to false after previously having been set to true will disable automatic rotation."
611
+
description="Whether to manage the master user password rotation. By default, false on creation, rotation is managed by RDS. There is not currently a way to disable this initially. Setting this value to false after previously having been set to true will disable automatic rotation."
0 commit comments