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
| <aname="input_additional_tags"></a> [additional\_tags](#input\_additional\_tags)| A map of additional tags to apply to the AWS resources |`map(string)`| <pre>{<br> "automation": "true"<br>}</pre> | no |
130
+
| <aname="input_additional_tags"></a> [additional\_tags](#input\_additional\_tags)| A map of additional tags to apply to the AWS resources |`map(string)`| <pre>{<br/> "automation": "true"<br/>}</pre> | no |
114
131
| <aname="input_alarm_actions"></a> [alarm\_actions](#input\_alarm\_actions)| Alarm action list |`list(string)`|`[]`| no |
115
132
| <aname="input_alarm_cpu_threshold_percent"></a> [alarm\_cpu\_threshold\_percent](#input\_alarm\_cpu\_threshold\_percent)| CPU threshold alarm level |`number`|`75`| no |
116
133
| <aname="input_allocated_storage"></a> [allocated\_storage](#input\_allocated\_storage)| The allocated storage capacity for the database in gibibytes (GiB) |`number`|`20`| no |
@@ -119,8 +136,11 @@ The required IAM permissions to create resources from this module can be found [
119
136
| <aname="input_apply_immediately"></a> [apply\_immediately](#input\_apply\_immediately)| Specifies whether any cluster modifications are applied immediately or during the next maintenance window |`bool`|`false`| no |
120
137
| <aname="input_backup_retention_period"></a> [backup\_retention\_period](#input\_backup\_retention\_period)| The number of days to retain backups for |`number`|`5`| no |
121
138
| <aname="input_backup_window"></a> [backup\_window](#input\_backup\_window)| The preferred window for taking automated backups of the database |`string`|`"03:00-06:00"`| no |
139
+
| <aname="input_bucket_provider_type"></a> [bucket\_provider\_type](#input\_bucket\_provider\_type)| Choose what type of provider you want (s3, gcs) |`string`|`"s3"`| no |
122
140
| <aname="input_cloudwatch_metric_alarms_enabled"></a> [cloudwatch\_metric\_alarms\_enabled](#input\_cloudwatch\_metric\_alarms\_enabled)| Boolean flag to enable/disable CloudWatch metrics alarms |`bool`|`false`| no |
141
+
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| Specifies the name of the EKS cluster to deploy the MySQL application on. |`string`|`""`| no |
123
142
| <aname="input_create_db_subnet_group"></a> [create\_db\_subnet\_group](#input\_create\_db\_subnet\_group)| Whether to create a database subnet group |`bool`|`true`| no |
143
+
| <aname="input_create_namespace"></a> [create\_namespace](#input\_create\_namespace)| Specify whether or not to create the namespace if it does not already exist. Set it to true to create the namespace. |`string`|`false`| no |
124
144
| <aname="input_create_security_group"></a> [create\_security\_group](#input\_create\_security\_group)| Whether to create a security group for the database |`bool`|`true`| no |
125
145
| <aname="input_custom_user_password"></a> [custom\_user\_password](#input\_custom\_user\_password)| Custom password for the RDS master user |`string`|`""`| no |
126
146
| <aname="input_cw_sns_topic_arn"></a> [cw\_sns\_topic\_arn](#input\_cw\_sns\_topic\_arn)| The username to use when sending notifications to Slack. |`string`|`""`| no |
@@ -143,10 +163,15 @@ The required IAM permissions to create resources from this module can be found [
143
163
| <aname="input_max_allocated_storage"></a> [max\_allocated\_storage](#input\_max\_allocated\_storage)| The Maximum storage capacity for the database value after autoscaling |`number`|`null`| no |
144
164
| <aname="input_multi_az"></a> [multi\_az](#input\_multi\_az)| Enable multi-AZ for disaster recovery |`bool`|`false`| no |
145
165
| <aname="input_name"></a> [name](#input\_name)| The name of the RDS instance |`string`|`""`| no |
166
+
| <aname="input_namespace"></a> [namespace](#input\_namespace)| Name of the Kubernetes namespace where the MYSQL deployment will be deployed. |`string`|`"postgresdb"`| no |
146
167
| <aname="input_ok_actions"></a> [ok\_actions](#input\_ok\_actions)| The list of actions to execute when this alarm transitions into an OK state from any other state. Each action is specified as an Amazon Resource Number (ARN) |`list(string)`|`[]`| no |
147
168
| <aname="input_performance_insights_enabled"></a> [performance\_insights\_enabled](#input\_performance\_insights\_enabled)| Specifies whether Performance Insights are enabled |`bool`|`false`| no |
148
169
| <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 |
149
170
| <aname="input_port"></a> [port](#input\_port)| The port number for the database |`number`|`5432`| no |
171
+
| <aname="input_postgresdb_backup_config"></a> [postgresdb\_backup\_config](#input\_postgresdb\_backup\_config)| configuration options for MySQL database backups. It includes properties such as the S3 bucket URI, the S3 bucket region, and the cron expression for full backups. |`map(string)`| <pre>{<br/> "bucket_uri": "",<br/> "cron_for_full_backup": "",<br/> "postgres_database_name": ""<br/>}</pre> | no |
172
+
| <aname="input_postgresdb_backup_enabled"></a> [postgresdb\_backup\_enabled](#input\_postgresdb\_backup\_enabled)| Specifies whether to enable backups for MySQL database. |`bool`|`false`| no |
173
+
| <aname="input_postgresdb_restore_config"></a> [postgresdb\_restore\_config](#input\_postgresdb\_restore\_config)| Configuration options for restoring dump to the MySQL database. |`any`| <pre>{<br/> "bucket_uri": "",<br/> "file_name": ""<br/>}</pre> | no |
174
+
| <aname="input_postgresdb_restore_enabled"></a> [postgresdb\_restore\_enabled](#input\_postgresdb\_restore\_enabled)| Specifies whether to enable restoring dump to the MySQL database. |`bool`|`false`| no |
150
175
| <aname="input_publicly_accessible"></a> [publicly\_accessible](#input\_publicly\_accessible)| Specifies whether the RDS instance is publicly accessible over the internet |`bool`|`false`| no |
151
176
| <aname="input_random_password_length"></a> [random\_password\_length](#input\_random\_password\_length)| The length of the randomly generated password for the RDS primary cluster (default: 16) |`number`|`16`| no |
152
177
| <aname="input_replica_count"></a> [replica\_count](#input\_replica\_count)| The number of replica instance |`number`|`1`| no |
@@ -171,6 +196,7 @@ The required IAM permissions to create resources from this module can be found [
171
196
| <aname="output_db_instance_name"></a> [db\_instance\_name](#output\_db\_instance\_name)| Name of the database instance |
172
197
| <aname="output_db_instance_password"></a> [db\_instance\_password](#output\_db\_instance\_password)| Password for accessing the database. |
173
198
| <aname="output_db_instance_username"></a> [db\_instance\_username](#output\_db\_instance\_username)| Master username for accessing the database. |
199
+
| <aname="output_db_name"></a> [db\_name](#output\_db\_name)| The database name used in the RDS module |
174
200
| <aname="output_db_parameter_group_id"></a> [db\_parameter\_group\_id](#output\_db\_parameter\_group\_id)| ID of the parameter group associated with the RDS instance. |
175
201
| <aname="output_db_subnet_group_id"></a> [db\_subnet\_group\_id](#output\_db\_subnet\_group\_id)| ID of the subnet group associated with the RDS instance. |
176
202
| <aname="output_master_credential_secret_arn"></a> [master\_credential\_secret\_arn](#output\_master\_credential\_secret\_arn)| The ARN of the master user secret (Only available when manage\_master\_user\_password is set to true) |
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
38
+
|[aws_eks_cluster.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster)| data source |
39
+
|[aws_eks_cluster_auth.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster_auth)| data source |
38
40
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
39
41
40
42
## Inputs
@@ -45,6 +47,7 @@ No inputs.
45
47
46
48
| Name | Description |
47
49
|------|-------------|
50
+
| <aname="output_db_name"></a> [db\_name](#output\_db\_name)| Database name |
48
51
| <aname="output_instance_endpoint"></a> [instance\_endpoint](#output\_instance\_endpoint)| Connection endpoint of the RDS instance. |
49
52
| <aname="output_instance_name"></a> [instance\_name](#output\_instance\_name)| Name of the database instance. |
50
53
| <aname="output_instance_password"></a> [instance\_password](#output\_instance\_password)| Password for accessing the database (Note: Terraform does not track this password after initial creation). |
0 commit comments