You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
terraform/examples/alicloud-ecs
Paul Stack 408ce5fe3f
Revert "provider/alicloud: change create ecs postpaid instance API" (#12724)
9 years ago
..
README.md update alicloud provider (#11235) 9 years ago
main.tf Revert "provider/alicloud: change create ecs postpaid instance API" (#12724) 9 years ago
outputs.tf update alicloud provider (#11235) 9 years ago
variables.tf Revert "provider/alicloud: change create ecs postpaid instance API" (#12724) 9 years ago

README.md

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