29 lines
610 B
HCL
29 lines
610 B
HCL
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."
|
|
}
|
|
|
|
variable "instance_type" {
|
|
default = "m1.small"
|
|
description = "The instance type to launch."
|
|
} |