Terraform Module for creating Wordpress based on Alibaba Cloud market place image and attach ECS to SLB. terraform-alicloud-market-wordpress
English | 简体中文
Terraform Module used to create ECS Instance based on Alibaba Cloud market place image and attach ECS to SLB, if domain_name exits, will associate SLB with domain.
This module requires Terraform 0.12 and Terraform Provider AliCloud 1.56.0+.
module "market-wordpress" {
source = "terraform-alicloud-modules/market-wordpress/alicloud"
region = "cn-beijing"
ecs_instance_name = "wordpress-instance"
ecs_instance_password = "YourPassword123"
ecs_instance_type = "ecs.sn1ne.large"
system_disk_category = "cloud_efficiency"
security_group_ids = ["sg-45678xxx"]
vswitch_id = "vsw-345678xxx"
internet_max_bandwidth_out = 50
create_slb = true
bind_domain = true
slb_name = "slb_wordpress"
bandwidth = 5
spec = "slb.s1.small"
domain_name = "cloudxxxx.xxx"
host_record = "wordpress"
type = "A"
}
- 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.
If you have any problems when using this module, please opening a provider issue and let us know.
Note: There does not recommend to open an issue on this repo.
Created and maintained by Li Xue([email protected]) and He Guimin(@xiaozhu36, [email protected])
Apache 2 Licensed. See LICENSE for full details.