1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
# Region to create infrastructure in
variable "aws_region" {
type = "string"
default = "us-west-2"
}
variable "aws_instance_type" {
type = "string"
default = "t2.micro"
}
# Used to indicidate whether the environment should be treated as "prod"
# This is mainly used for the `X-Production` AWS tag.
variable "production" {
default = "false"
}
# SSH Connection info used for remote provisioning instances
variable "connection_agent" {
description = "Set to false to disable using ssh-agent to authenticate"
default = false
}
variable "connection_private_key" {
description = "File path to AWS keypair private key to provision with"
default = "~/.ssh/es-infrastructure.pem"
}
|