github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/examples/alicloud-ecs-vpc/README.md (about)

     1  ### ECS In VPC Example
     2  
     3  The example launches ECS in VPC, vswitch_id parameter is the vswitch id from VPC. It also create disk, and attached the disk on ECS. The variables.tf can let you create specify parameter instances, such as image_id, ecs_type, count etc.
     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  	    	var.vswitch_id
    15  	    		Enter a value: {vswitch_id}
    16  	    	....
    17  
    18  * Apply phase
    19  
    20  		terraform apply 
    21  		    var.availability_zones
    22    				Enter a value: {var.availability_zones}  /*cn-beijing-b*/
    23  	    	var.datacenter
    24  	    		Enter a value: {datacenter}
    25  	    	var.vswitch_id
    26  	    		Enter a value: {vswitch_id}
    27  	    	....
    28  
    29  * Destroy 
    30  
    31  		terraform destroy