2015-06-08 01:28:46 +02:00
|
|
|
variable "aws_region" {
|
|
|
|
description = "The AWS region to create things in."
|
|
|
|
default = "us-east-1"
|
|
|
|
}
|
|
|
|
|
2015-06-09 19:44:22 +02:00
|
|
|
# ubuntu-trusty-14.04 (x64)
|
2015-06-08 01:28:46 +02:00
|
|
|
variable "aws_amis" {
|
|
|
|
default = {
|
|
|
|
"us-east-1" = "ami-5f709f34"
|
|
|
|
"us-west-2" = "ami-7f675e4f"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "availability_zones" {
|
|
|
|
default = "us-east-1b,us-east-1c,us-east-1d,us-east-1e"
|
|
|
|
description = "List of availability zones, use AWS CLI to find your "
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "key_name" {
|
|
|
|
description = "Name of AWS key pair"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "instance_type" {
|
|
|
|
default = "t2.micro"
|
|
|
|
description = "AWS instance type"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "asg_min" {
|
|
|
|
description = "Min numbers of servers in ASG"
|
|
|
|
default = "1"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "asg_max" {
|
|
|
|
description = "Max numbers of servers in ASG"
|
|
|
|
default = "2"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "asg_desired" {
|
|
|
|
description = "Desired numbers of servers in ASG"
|
|
|
|
default = "1"
|
2015-06-08 01:31:17 +02:00
|
|
|
}
|
|
|
|
|