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_app_version"></a> [app\_version](#input\_app\_version)| Version of the MySQL application that will be deployed. |`string`|`"8.0.29-debian-11-r9"`| no |
102
+
| <aname="input_bucket_provider_type"></a> [bucket\_provider\_type](#input\_bucket\_provider\_type)| Choose what type of provider you want (s3, gcs) |`string`|`"gcs"`| no |
106
103
| <aname="input_chart_version"></a> [chart\_version](#input\_chart\_version)| Version of the Mysql chart that will be used to deploy MySQL application. |`string`|`"9.2.0"`| no |
107
104
| <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 |
108
105
| <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`|`true`| no |
109
-
| <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 |
106
+
| <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> "bucket_uri": "",<br> "cron_for_full_backup": "",<br> "s3_bucket_region": ""<br>}</pre> | no |
110
107
| <aname="input_mysqldb_backup_enabled"></a> [mysqldb\_backup\_enabled](#input\_mysqldb\_backup\_enabled)| Specifies whether to enable backups for MySQL database. |`bool`|`false`| no |
111
108
| <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> "values_yaml": ""<br>}</pre> | no |
112
109
| <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 |
113
-
| <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 |
110
+
| <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> "bucket_uri": "",<br> "file_name": "",<br> "s3_bucket_region": ""<br>}</pre> | no |
114
111
| <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 |
115
112
| <aname="input_namespace"></a> [namespace](#input\_namespace)| Name of the Kubernetes namespace where the MYSQL deployment will be deployed. |`string`|`"mysqldb"`| no |
113
+
| <aname="input_project_id"></a> [project\_id](#input\_project\_id)| Google Cloud project ID |`string`|`""`| no |
116
114
| <aname="input_recovery_window_aws_secret"></a> [recovery\_window\_aws\_secret](#input\_recovery\_window\_aws\_secret)| Number of days that AWS Secrets Manager will wait before deleting a secret. This value can be set to 0 to force immediate deletion, or to a value between 7 and 30 days to allow for recovery. |`number`|`0`| no |
Copy file name to clipboardExpand all lines: examples/complete/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,12 @@
6
6
### [SquareOps Technologies](https://squareops.com/) Your DevOps Partner for Accelerating cloud journey.
7
7
<br>
8
8
This example will be very useful for users who are new to a module and want to quickly learn how to use it. By reviewing the examples, users can gain a better understanding of how the module works, what features it supports, and how to customize it to their specific needs.
9
+
10
+
## Usage
11
+
12
+
Use the provider file as per your need.
13
+
- If deploying into AWS EKS use `provider-aws.tf` file and remove `provider-gcp.tf` file.
14
+
- If deploying into Google GKE use `provider-gcp.tf` file and remove `provider-aws.tf` file.
9
15
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|[aws_eks_cluster.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster)| data source |
31
38
|[aws_eks_cluster_auth.cluster](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/eks_cluster_auth)| data source |
39
+
|[google_client_config.default](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/client_config)| data source |
40
+
|[google_container_cluster.primary](https://registry.terraform.io/providers/hashicorp/google/latest/docs/data-sources/container_cluster)| data source |
0 commit comments