2014-10-12 00:09:51 +00:00
|
|
|
variable "ami" {
|
|
|
|
default = {
|
|
|
|
us-east-1 = "ami-3acc7a52"
|
|
|
|
us-west-2 = "ami-37501207"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "key_name" {
|
|
|
|
description = "SSH key name in your AWS account for AWS instances."
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "key_path" {
|
|
|
|
description = "Path to the private key specified by key_name."
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "region" {
|
|
|
|
default = "us-east-1"
|
|
|
|
description = "The region of AWS, for AMI lookups."
|
|
|
|
}
|
|
|
|
|
|
|
|
variable "servers" {
|
|
|
|
default = "3"
|
|
|
|
description = "The number of Consul servers to launch."
|
|
|
|
}
|
2015-03-14 18:00:22 +00:00
|
|
|
|
|
|
|
variable "instance_type" {
|
|
|
|
default = "m1.small"
|
|
|
|
description = "The instance type to launch."
|
2015-05-09 20:50:11 +00:00
|
|
|
}
|
2015-05-31 18:00:57 +00:00
|
|
|
|
2015-05-09 20:50:11 +00:00
|
|
|
variable "tagName" {
|
|
|
|
default = "consul"
|
2015-05-13 13:59:05 +00:00
|
|
|
description = "Name tag for the servers"
|
2015-05-31 18:00:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
variable "platform" {
|
|
|
|
default = "ubuntu"
|
|
|
|
description = "The OS Platform"
|
2015-05-21 00:38:42 +00:00
|
|
|
}
|