github.com/simonswine/terraform@v0.9.0-beta2/examples/alicloud-ecs-vpc/variables.tf (about) 1 variable "count" { 2 default = "1" 3 } 4 variable "count_format" { 5 default = "%02d" 6 } 7 variable "image_id" { 8 default = "ubuntu_140405_64_40G_cloudinit_20161115.vhd" 9 } 10 11 variable "role" { 12 } 13 variable "datacenter" { 14 } 15 variable "short_name" { 16 default = "hi" 17 } 18 variable "ecs_type" { 19 } 20 variable "ecs_password" { 21 } 22 variable "availability_zones" { 23 } 24 variable "security_groups" { 25 type = "list" 26 } 27 variable "ssh_username" { 28 default = "root" 29 } 30 31 //if instance_charge_type is "PrePaid", then must be set period, the value is 1 to 30, unit is month 32 variable "instance_charge_type" { 33 default = "PostPaid" 34 } 35 36 variable "system_disk_category" { 37 default = "cloud_efficiency" 38 } 39 40 variable "internet_charge_type" { 41 default = "PayByTraffic" 42 } 43 variable "internet_max_bandwidth_out" { 44 default = 5 45 } 46 47 variable "io_optimized" { 48 default = "optimized" 49 } 50 51 variable "allocate_public_ip" { 52 default = true 53 } 54 55 variable "disk_category" { 56 default = "cloud_ssd" 57 } 58 variable "disk_size" { 59 default = "40" 60 } 61 variable "device_name" { 62 default = "/dev/xvdb" 63 } 64 65 variable "vswitch_id" { 66 default = "" 67 }