github.com/tetrafolium/tflint@v0.8.0/tflint/test-fixtures/v0.11.0_module/.terraform/modules/75f06b5c36dd1be566ec9e32e6aca4b5/variables.tf (about) 1 // Required 2 3 variable "vpc" { 4 description = "VPC id for ECS cluster" 5 } 6 7 variable "subnets" { 8 type = "list" 9 description = "List of subnet ids for ECS cluster, please choose 2 subnets" 10 } 11 12 variable "key_name" { 13 description = "Name of key pair for SSH login to ECS cluster instances" 14 } 15 16 variable "ami" { 17 description = "ECS cluster instance AMI id, default is Amazon ECS-optimized AMI in us-east-1" 18 default = "ami-eca289fb" 19 } 20 21 // Customize for container options 22 23 variable "app_name" { 24 description = "Your application name" 25 default = "demo-app" 26 } 27 28 variable "https" { 29 description = "Listen over https" 30 default = false 31 } 32 33 variable "app_certificate_arn" { 34 description = "SSL cert ARN" 35 default = "" 36 } 37 38 variable "app_ssl_policy" { 39 description = "SSL Policy" 40 default = "ELBSecurityPolicy-2015-05" 41 } 42 43 variable "image" { 44 description = "Your docker image name, default it ECS PHP Simple App" 45 default = "wata727/ecs-demo-php-simple-app:latest" 46 } 47 48 variable "container_port" { 49 description = "Port number exposed by container" 50 default = 80 51 } 52 53 variable "service_count" { 54 description = "Number of containers" 55 default = 3 56 } 57 58 variable "cpu_unit" { 59 description = "Number of cpu units for container" 60 default = 128 61 } 62 63 variable "memory" { 64 description = "Number of memory for container" 65 default = 128 66 } 67 68 // Customize for spot fleet options 69 70 variable "spot_prices" { 71 description = "Bid amount to spot fleet" 72 type = "list" 73 default = ["0.03", "0.03"] 74 } 75 76 variable "strategy" { 77 description = "Instance placement strategy name" 78 default = "diversified" 79 } 80 81 variable "instance_count" { 82 description = "Number of instances" 83 default = 3 84 } 85 86 variable "instance_type" { 87 description = "Instance type launched by spot fleet" 88 default = "m3.medium" 89 } 90 91 variable "volume_size" { 92 description = "Root volume size" 93 default = 16 94 } 95 96 variable "app_port" { 97 description = "Port number of application" 98 default = 80 99 } 100 101 variable "valid_until" { 102 description = "limit of spot fleet" 103 default = "2020-12-15T00:00:00Z" 104 }