Terraform module which creates web service with EIP&SLB&ECS&PolarDB on Alibaba Cloud
English | 简体中文
This module is used to create a lightweight web service under Alibaba Cloud EIP
, SLB
, ECS
, RDS
and PolarDB
.
These types of resources are supported:
- alicloud_instance
- alicloud_polardb_cluster
- alicloud_polardb_database
- alicloud_slb_load_balancer
- alicloud_eip
module "example" {
source = "terraform-alicloud-modules/eip-slb-ecs-polardb/alicloud"
name = "tf-eip-slb-ecs-polardb"
instance_type = "ecs.n4.large"
db_node_class = "polar.mysql.x4.large"
slb_address_type = "intranet"
}
- 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.123.1 |
Name | Version |
---|---|
alicloud | > = 1.123.1 |
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.