github.com/candidpartners/terraform@v0.9.5-0.20171005231213-29f5f88820f6/examples/alicloud-ecs-image/README.md (about)

     1  ### ECS Example
     2  
     3  The example gains image info and use it to launche ECS instance, disk, and attached the disk on ECS. the count parameter in variables.tf can let you gain specify image and use it to create specify number ECS instances.
     4  
     5  ### Get up and running
     6  
     7  * Planning phase
     8  
     9  		terraform plan 
    10      		var.availability_zones
    11    				Enter a value: {var.availability_zones}  /*cn-beijing-b*/
    12  	    	var.datacenter
    13  	    		Enter a value: {datacenter}
    14  	    	....
    15  
    16  * Apply phase
    17  
    18  		terraform apply 
    19  		    var.availability_zones
    20    				Enter a value: {var.availability_zones}  /*cn-beijing-b*/
    21  	    	var.datacenter
    22  	    		Enter a value: {datacenter}
    23  	    	....
    24  
    25  * Destroy 
    26  
    27  		terraform destroy