Alicloud ECS&Redis&MongoDB&PolarDB Terraform Module On Alibaba Cloud
English | 简体中文
This module is used to create a lightweight web service under Alibaba Cloud VPC, including ECs, Redis and RDS.
These types of resources are supported:
- alicloud_instance
- alicloud_kvstore_instance
- alicloud_mongodb_instance
- alicloud_polardb_cluster
- alicloud_polardb_database
module "example" {
source = "terraform-alicloud-modules/ecs-redis-mongodb-polardb/alicloud"
name = "ecs-redis-mongodb-polardb"
instance_type = "ecs.n4.large"
redis_instance_class = "redis.master.large.default"
mongodb_engine_version = "3.4"
db_instance_class = "dds.mongo.mid"
db_version = "5.6"
db_node_class = "polar.mysql.x4.large"
}
- This module using AccessKey and SecretKey are from
profile
andshared_credentials_file
. If you have not set them yet, please install aliyun-cli and configure it.
Name | Version |
---|---|
terraform | > = 0.13.0 |
alicloud | > = 1.66.0 |
Name | Version |
---|---|
alicloud | > = 1.66.0 |
If you have any problems when using this module, please opening a provider issue and let us know.
Note: There does not recommend opening an issue on this repo.
Created and maintained by Alibaba Cloud Terraform Team([email protected])
MIT Licensed. See LICENSE for full details.