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 Mongodb application that will be deployed. |`string`|`"5.0.8-debian-10-r9"`| no |
145
+
| <aname="input_az_account_backup"></a> [az\_account\_backup](#input\_az\_account\_backup)| Azure user managed account backup identity |`string`|`""`| no |
146
+
| <aname="input_az_account_restore"></a> [az\_account\_restore](#input\_az\_account\_restore)| Azure user managed account restore identity |`string`|`""`| no |
147
+
| <aname="input_azure_container_name"></a> [azure\_container\_name](#input\_azure\_container\_name)| Azure container name |`string`|`""`| no |
148
+
| <aname="input_azure_storage_account_key"></a> [azure\_storage\_account\_key](#input\_azure\_storage\_account\_key)| Azure storage account key |`string`|`""`| no |
149
+
| <aname="input_azure_storage_account_name"></a> [azure\_storage\_account\_name](#input\_azure\_storage\_account\_name)| Azure storage account name |`string`|`""`| no |
149
150
| <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 |
150
151
| <aname="input_chart_version"></a> [chart\_version](#input\_chart\_version)| Version of the Mongodb chart that will be used to deploy Mongodb application. |`string`|`"13.1.5"`| no |
151
152
| <aname="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name)| Specifies the name of the EKS cluster to deploy the Mongodb application on. |`string`|`""`| no |
152
-
| <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 |
153
+
| <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 |
153
154
| <aname="input_iam_role_arn_backup"></a> [iam\_role\_arn\_backup](#input\_iam\_role\_arn\_backup)| IAM role ARN for backup (AWS) |`string`|`""`| no |
154
155
| <aname="input_iam_role_arn_restore"></a> [iam\_role\_arn\_restore](#input\_iam\_role\_arn\_restore)| IAM role ARN for restore (AWS) |`string`|`""`| no |
155
-
| <aname="input_metric_exporter_pasword"></a> [metric\_exporter\_pasword](#input\_metric\_exporter\_pasword)| Metric exporter password for MongoDB |`string`|`""`| no |
156
+
| <aname="input_metric_exporter_password"></a> [metric\_exporter\_password](#input\_metric\_exporter\_password)| Metric exporter password for MongoDB |`string`|`""`| no |
156
157
| <aname="input_mongodb_backup_config"></a> [mongodb\_backup\_config](#input\_mongodb\_backup\_config)| Configuration options for Mongodb 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": "*/5 * * * *",<br> "s3_bucket_region": "us-east-2"<br>}</pre> | no |
157
158
| <aname="input_mongodb_backup_enabled"></a> [mongodb\_backup\_enabled](#input\_mongodb\_backup\_enabled)| Specifies whether to enable backups for Mongodb database. |`bool`|`false`| no |
158
-
| <aname="input_mongodb_config"></a> [mongodb\_config](#input\_mongodb\_config)| Specify the configuration settings for Mongodb, including the name, environment, storage options, replication settings, and custom YAML values. |`any`| <pre>{<br> "architecture": "",<br> "environment": "",<br> "name": "",<br> "replica_count": 2,<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": "",<br> "volume_size": ""<br>}</pre> | no |
159
+
| <aname="input_mongodb_config"></a> [mongodb\_config](#input\_mongodb\_config)| Specify the configuration settings for Mongodb, including the name, environment, storage options, replication settings, and custom YAML values. |`any`| <pre>{<br> "architecture": "",<br> "custom_databases": "",<br> "custom_databases_passwords": "",<br> "custom_databases_usernames": "",<br> "environment": "",<br> "name": "",<br> "replica_count": 2,<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": "",<br> "volume_size": ""<br>}</pre> | no |
159
160
| <aname="input_mongodb_custom_credentials_config"></a> [mongodb\_custom\_credentials\_config](#input\_mongodb\_custom\_credentials\_config)| Specify the configuration settings for Mongodb to pass custom credentials during creation. |`any`| <pre>{<br> "metric_exporter_password": "",<br> "metric_exporter_user": "",<br> "root_password": "",<br> "root_user": ""<br>}</pre> | no |
160
161
| <aname="input_mongodb_custom_credentials_enabled"></a> [mongodb\_custom\_credentials\_enabled](#input\_mongodb\_custom\_credentials\_enabled)| Specifies whether to enable custom credentials for MongoDB database. |`bool`|`false`| no |
161
162
| <aname="input_mongodb_exporter_config"></a> [mongodb\_exporter\_config](#input\_mongodb\_exporter\_config)| Specify whether or not to deploy Mongodb exporter to collect Mongodb metrics for monitoring in Grafana. |`any`| <pre>{<br> "version": "2.9.0"<br>}</pre> | no |
162
163
| <aname="input_mongodb_exporter_enabled"></a> [mongodb\_exporter\_enabled](#input\_mongodb\_exporter\_enabled)| Specify whether or not to deploy Mongodb exporter to collect Mongodb metrics for monitoring in Grafana. |`bool`|`false`| no |
164
+
| <aname="input_mongodb_exporter_values"></a> [mongodb\_exporter\_values](#input\_mongodb\_exporter\_values)| Mongo DB prometheus exporter values file |`any`|`""`| no |
163
165
| <aname="input_mongodb_restore_config"></a> [mongodb\_restore\_config](#input\_mongodb\_restore\_config)| Configuration options for restoring dump to the Mongodb database. |`any`| <pre>{<br> "bucket_uri": "s3://mymongo/mongodumpfull_20230424_112501.gz",<br> "file_name": "",<br> "s3_bucket_region": "us-east-2"<br>}</pre> | no |
164
166
| <aname="input_mongodb_restore_enabled"></a> [mongodb\_restore\_enabled](#input\_mongodb\_restore\_enabled)| Specifies whether to enable restoring dump to the Mongodb database. |`bool`|`false`| no |
165
167
| <aname="input_namespace"></a> [namespace](#input\_namespace)| Name of the Kubernetes namespace where the Mongodb deployment will be deployed. |`string`|`"mongodb"`| no |
166
168
| <aname="input_project_id"></a> [project\_id](#input\_project\_id)| Google Cloud project ID |`string`|`""`| no |
167
169
| <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 |
168
170
| <aname="input_resource_group_location"></a> [resource\_group\_location](#input\_resource\_group\_location)| Azure region |`string`|`"East US"`| no |
169
171
| <aname="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name)| Azure Resource Group name |`string`|`""`| no |
170
-
| <aname="input_storage_account_name"></a> [storage\_account\_name](#input\_storage\_account\_name)| Azure storage account name |`string`|`""`| no |
171
172
| <aname="input_root_password"></a> [root\_password](#input\_root\_password)| Root password for MongoDB |`string`|`""`| no |
172
173
| <aname="input_service_account_backup"></a> [service\_account\_backup](#input\_service\_account\_backup)| Service account for backup (GCP) |`string`|`""`| no |
173
174
| <aname="input_service_account_restore"></a> [service\_account\_restore](#input\_service\_account\_restore)| Service account for restore (GCP) |`string`|`""`| no |
Copy file name to clipboardExpand all lines: examples/complete/azure/README.md
+35Lines changed: 35 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,3 +40,38 @@ No inputs.
40
40
|------|-------------|
41
41
| <aname="output_mongodb_credential"></a> [mongodb\_credential](#output\_mongodb\_credential)| MongoDB credentials used for accessing the MongoDB database. |
42
42
| <aname="output_mongodb_endpoints"></a> [mongodb\_endpoints](#output\_mongodb\_endpoints)| MongoDB endpoints in the Kubernetes cluster. |
43
+
<!-- BEGINNING OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
|[azurerm_kubernetes_cluster.primary](https://registry.terraform.io/providers/hashicorp/azurerm/latest/docs/data-sources/kubernetes_cluster)| data source |
66
+
67
+
## Inputs
68
+
69
+
No inputs.
70
+
71
+
## Outputs
72
+
73
+
| Name | Description |
74
+
|------|-------------|
75
+
| <aname="output_mongodb_credential"></a> [mongodb\_credential](#output\_mongodb\_credential)| MongoDB credentials used for accessing the MongoDB database. |
76
+
| <aname="output_mongodb_endpoints"></a> [mongodb\_endpoints](#output\_mongodb\_endpoints)| MongoDB endpoints in the Kubernetes cluster. |
| <aname="input_azure_uai_backup_name"></a> [azure\_uai\_backup\_name](#input\_azure\_uai\_backup\_name)| Azure User Assigned Identity name for backup |`string`|`"mongo-backup"`| no |
104
+
| <aname="input_azure_uai_pod_identity_backup_name"></a> [azure\_uai\_pod\_identity\_backup\_name](#input\_azure\_uai\_pod\_identity\_backup\_name)| Azure User Assigned Identity name for pod identity backup |`string`|`"pod-identity-backup"`| no |
105
+
| <aname="input_azure_uai_pod_identity_restore_name"></a> [azure\_uai\_pod\_identity\_restore\_name](#input\_azure\_uai\_pod\_identity\_restore\_name)| Azure User Assigned Identity name for pod identity restore |`string`|`"pod-identity-restore"`| no |
106
+
| <aname="input_azure_uai_restore_name"></a> [azure\_uai\_restore\_name](#input\_azure\_uai\_restore\_name)| Azure User Assigned Identity name for restore |`string`|`"mongo-restore"`| no |
107
+
| <aname="input_environment"></a> [environment](#input\_environment)| Environment in which the infrastructure is being deployed (e.g., production, staging, development) |`string`|`"test"`| no |
108
+
| <aname="input_mongodb_config"></a> [mongodb\_config](#input\_mongodb\_config)| Specify the configuration settings for Mongodb, including the name, environment, storage options, replication settings, and custom YAML values. |`any`| <pre>{<br> "architecture": "",<br> "environment": "",<br> "name": "",<br> "replica_count": 2,<br> "storage_class_name": "",<br> "store_password_to_secret_manager": true,<br> "values_yaml": "",<br> "volume_size": ""<br>}</pre> | no |
109
+
| <aname="input_mongodb_custom_credentials_config"></a> [mongodb\_custom\_credentials\_config](#input\_mongodb\_custom\_credentials\_config)| Specify the configuration settings for Mongodb to pass custom credentials during creation. |`any`| <pre>{<br> "metric_exporter_password": "",<br> "metric_exporter_user": "",<br> "root_password": "",<br> "root_user": ""<br>}</pre> | no |
110
+
| <aname="input_mongodb_custom_credentials_enabled"></a> [mongodb\_custom\_credentials\_enabled](#input\_mongodb\_custom\_credentials\_enabled)| Specifies whether to enable custom credentials for MongoDB database. |`bool`|`false`| no |
111
+
| <aname="input_name"></a> [name](#input\_name)| Name of all the resources |`string`|`""`| no |
112
+
| <aname="input_resource_group_location"></a> [resource\_group\_location](#input\_resource\_group\_location)| Azure region |`string`|`"East US"`| no |
113
+
| <aname="input_resource_group_name"></a> [resource\_group\_name](#input\_resource\_group\_name)| Azure Resource Group name |`string`|`""`| no |
114
+
| <aname="input_storage_account_name"></a> [storage\_account\_name](#input\_storage\_account\_name)| Azure storage account name |`string`|`""`| no |
115
+
| <aname="input_store_password_to_secret_manager"></a> [store\_password\_to\_secret\_manager](#input\_store\_password\_to\_secret\_manager)| Specifies whether to store the credentials in GCP secret manager. |`bool`|`false`| no |
116
+
117
+
## Outputs
118
+
119
+
| Name | Description |
120
+
|------|-------------|
121
+
| <aname="output_az_account_backup"></a> [az\_account\_backup](#output\_az\_account\_backup)| Azure User Assigned Identity for backup |
122
+
| <aname="output_az_account_restore"></a> [az\_account\_restore](#output\_az\_account\_restore)| Azure User Assigned Identity for restore |
123
+
| <aname="output_metric_exporter_pasword"></a> [metric\_exporter\_pasword](#output\_metric\_exporter\_pasword)| mongodb\_exporter user's password of MongoDB |
124
+
| <aname="output_root_password"></a> [root\_password](#output\_root\_password)| Root user's password of MongoDB |
0 commit comments