Terraform module which creates Yandex Cloud resources.
Examples codified under
the examples
are intended
to give users references for how to use the module(s) as well as testing/validating changes to the source code of the
module. If contributing to the project, please be sure to make any appropriate updates to the relevant examples to allow
maintainers to test your changes and to keep the examples up to date for users. Thank you!
Name | Version |
---|---|
terraform | >= 1.3 |
yandex | >= 0.72.0 |
Name | Version |
---|---|
yandex | >= 0.72.0 |
No modules.
Name | Type |
---|---|
yandex_mdb_mongodb_cluster.mongodb_cluster | resource |
yandex_mdb_mongodb_database.mongodb_database | resource |
yandex_mdb_mongodb_user.mongodb_user | resource |
yandex_client_config.client | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
access | Access policy to the MongoDB cluster | object({ |
null |
no |
backup_window_start | Time to start the daily backup, in the UTC timezone | object({ |
null |
no |
cluster_name | Name of the MongoDB cluster | string |
n/a | yes |
database_name | Name of the database | string |
n/a | yes |
deletion_protection | Inhibits deletion of the cluster | bool |
false |
no |
environment | Deployment environment of the MongoDB cluster | string |
n/a | yes |
feature_compatibility_version | Feature compatibility version of MongoDB | string |
null |
no |
labels | A set of key/value label pairs to assign to the MongoDB cluster | map(string) |
{} |
no |
mongod_hosts | List of hosts in MongoDB cluster. | list(object({ |
n/a | yes |
mongodb_version | Version of the MongoDB server software | string |
n/a | yes |
network_id | ID of the network, to which the Redis cluster belongs | string |
n/a | yes |
performance_diagnostics | Performance diagnostics to the MongoDB cluster | object({ |
null |
no |
resources_mongod_disk_size | Volume of the storage available to a MongoDB host, in gigabytes | number |
n/a | yes |
resources_mongod_disk_type | Type of the storage of MongoDB hosts | string |
n/a | yes |
resources_mongod_preset | The ID of the preset for computational resources available to a MongoDB host | string |
n/a | yes |
security_group_ids | A set of ids of security groups assigned to hosts of the cluster | list(string) |
[] |
no |
subnet_id | The ID of the subnet, to which the host belongs. The subnet must be a part of the network to which the cluster belongs | string |
n/a | yes |
user_name | Name of the user | string |
n/a | yes |
user_password | Password of the user | string |
n/a | yes |
zone_id | Zone for allocating address | string |
"ru-central1-a" |
no |
Name | Description |
---|---|
database_id | The ID of the MongoDB database |
id | The ID of the MongoDB cluster |
name | The name of the MongoDB cluster |
user_id | The ID of the MongoDB user |
Apache-2.0 Licensed. See LICENSE.