terraform/examples/alicloud-ecs/README.md

27 lines
621 B
Markdown
Raw Normal View History

2017-01-19 15:08:56 +01:00
### ECS Example
The example launches ECS instance, disk, and attached the disk on ECS. the count parameter in variables.tf can let you create specify number ECS instances.
### Get up and running
* Planning phase
terraform plan
var.availability_zones
Enter a value: {var.availability_zones} /*cn-beijing-b*/
var.datacenter
Enter a value: {datacenter}
....
* Apply phase
terraform apply
var.availability_zones
Enter a value: {var.availability_zones} /*cn-beijing-b*/
var.datacenter
Enter a value: {datacenter}
....
* Destroy
terraform destroy