Skip to content

No0key/terraform-yandex-mdb-mongodb

 
 

Repository files navigation

Yandex Cloud Terraform module

Terraform module which creates Yandex Cloud resources.

Examples

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!

Requirements

Name Version
terraform >= 1.3
yandex >= 0.72.0

Providers

Name Version
yandex >= 0.72.0

Modules

No modules.

Resources

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

Inputs

Name Description Type Default Required
cluster_name Name of the MongoDB cluster string n/a yes
database_name Name of the database string n/a yes
environment Deployment environment of the MongoDB cluster string n/a yes
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({
zone_id = optional(string, "ru-central1-a")
subnet_id =
string
}))
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
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
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

Outputs

No outputs.

License

Apache-2.0 Licensed. See LICENSE.

About

Terraform module to manage MongoDB resources within the Yandex.Cloud.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 100.0%