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
+15-2Lines changed: 15 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,17 @@ module "mysql" {
32
32
secondary_db_replica_count = 2
33
33
store_password_to_secret_manager = true
34
34
}
35
+
mysqldb_custom_credentials_enabled = true
36
+
mysqldb_custom_credentials_config = {
37
+
root_user = "root"
38
+
root_password = "RJDRIFsYC8ZS1WQuV0ps"
39
+
custom_username = "admin"
40
+
custom_user_password = "NCPFUKEMd7rrWuvMAa73"
41
+
replication_user = "replicator"
42
+
replication_password = "nvAHhm1uGQNYWVw6ZyAH"
43
+
exporter_user = "mysqld_exporter"
44
+
exporter_password = "ZawhvpueAehRdKFlbjaq"
45
+
}
35
46
mysqldb_backup_enabled = true
36
47
mysqldb_backup_config = {
37
48
s3_bucket_uri = ""
@@ -110,6 +121,8 @@ No modules.
110
121
| <aname="input_mysqldb_backup_config"></a> [mysqldb\_backup\_config](#input\_mysqldb\_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. |`any`| <pre>{<br> "cron_for_full_backup": "",<br> "s3_bucket_region": "",<br> "s3_bucket_uri": ""<br>}</pre> | no |
111
122
| <aname="input_mysqldb_backup_enabled"></a> [mysqldb\_backup\_enabled](#input\_mysqldb\_backup\_enabled)| Specifies whether to enable backups for MySQL database. |`bool`|`false`| no |
112
123
| <aname="input_mysqldb_config"></a> [mysqldb\_config](#input\_mysqldb\_config)| Specify the configuration settings for MySQL, including the name, environment, storage options, replication settings, and custom YAML values. |`any`| <pre>{<br> "architecture": "",<br> "custom_user_username": "",<br> "environment": "",<br> "name": "",<br> "primary_db_volume_size": "",<br> "secondary_db_replica_count": 1,<br> "secondary_db_volume_size": "",<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": ""<br>}</pre> | no |
124
+
| <aname="input_mysqldb_custom_credentials_config"></a> [mysqldb\_custom\_credentials\_config](#input\_mysqldb\_custom\_credentials\_config)| Specify the configuration settings for MySQL to pass custom credentials during creation |`any`| <pre>{<br> "custom_user_password": "",<br> "custom_username": "",<br> "exporter_password": "",<br> "exporter_user": "",<br> "replication_password": "",<br> "replication_user": "",<br> "root_password": "",<br> "root_user": ""<br>}</pre> | no |
125
+
| <aname="input_mysqldb_custom_credentials_enabled"></a> [mysqldb\_custom\_credentials\_enabled](#input\_mysqldb\_custom\_credentials\_enabled)| Specifies whether to enable custom for MySQL database. |`bool`|`false`| no |
113
126
| <aname="input_mysqldb_exporter_enabled"></a> [mysqldb\_exporter\_enabled](#input\_mysqldb\_exporter\_enabled)| Specify whether or not to deploy Mysql exporter to collect Mysql metrics for monitoring in Grafana. |`bool`|`false`| no |
114
127
| <aname="input_mysqldb_restore_config"></a> [mysqldb\_restore\_config](#input\_mysqldb\_restore\_config)| Configuration options for restoring dump to the MySQL database. |`any`| <pre>{<br> "s3_bucket_region": "",<br> "s3_bucket_uri": ""<br>}</pre> | no |
115
128
| <aname="input_mysqldb_restore_enabled"></a> [mysqldb\_restore\_enabled](#input\_mysqldb\_restore\_enabled)| Specifies whether to enable restoring dump to the MySQL database. |`bool`|`false`| no |
| <aname="output_mysqldb_credential"></a> [mysqldb\_credential](#output\_mysqldb\_credential)|MySQL credentials used for accessing the MySQL database.|
137
+
| <aname="output_mysqldb_endpoints"></a> [mysqldb\_endpoints](#output\_mysqldb\_endpoints)|MySQL endpoints in the Kubernetes cluster.|
0 commit comments