terraform/examples/alicloud-ecs-slb
..
README.md
main.tf
outputs.tf
variables.tf

README.md

ECS With SLB Example

The example launches ECS, disk, and attached the disk on ECS. It also creates an SLB, and addition the ECS to backendServer. The variables.tf can let you create specify parameter instances, such as image_id, ecs_type etc.

Get up and running

  • Planning phase

      terraform plan 
    
  • Apply phase

      terraform apply 
    
  • Destroy

      terraform destroy