2016-08-23 11:19:43 -05:00
|
|
|
variable "aws_region" {
|
|
|
|
description = "The AWS region to create things in."
|
2016-09-22 06:49:09 -05:00
|
|
|
default = "us-west-2"
|
2016-08-23 11:19:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "az_count" {
|
|
|
|
description = "Number of AZs to cover in a given AWS region"
|
2016-09-22 06:49:09 -05:00
|
|
|
default = "2"
|
2016-08-23 11:19:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "key_name" {
|
|
|
|
description = "Name of AWS key pair"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "instance_type" {
|
2016-09-22 06:49:09 -05:00
|
|
|
default = "t2.small"
|
2016-08-23 11:19:43 -05:00
|
|
|
description = "AWS instance type"
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "asg_min" {
|
|
|
|
description = "Min numbers of servers in ASG"
|
2016-09-22 06:49:09 -05:00
|
|
|
default = "1"
|
2016-08-23 11:19:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "asg_max" {
|
|
|
|
description = "Max numbers of servers in ASG"
|
2016-09-22 06:49:09 -05:00
|
|
|
default = "2"
|
2016-08-23 11:19:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "asg_desired" {
|
|
|
|
description = "Desired numbers of servers in ASG"
|
2016-09-22 06:49:09 -05:00
|
|
|
default = "1"
|
2016-08-23 11:19:43 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "admin_cidr_ingress" {
|
|
|
|
description = "CIDR to allow tcp/22 ingress to EC2 instance"
|
|
|
|
}
|