25 lines
507 B
Terraform
25 lines
507 B
Terraform
|
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."
|
||
|
}
|