2015-12-03 00:39:24 +01:00
|
|
|
variable "public_key_path" {
|
|
|
|
description = <<DESCRIPTION
|
|
|
|
Path to the SSH public key to be used for authentication.
|
|
|
|
Ensure this keypair is added to your local SSH agent so provisioners can
|
|
|
|
connect.
|
2014-10-14 02:24:25 +02:00
|
|
|
|
2015-12-28 13:52:52 +01:00
|
|
|
Example: ~/.ssh/terraform.pub
|
2015-12-03 00:39:24 +01:00
|
|
|
DESCRIPTION
|
2014-10-14 02:24:25 +02:00
|
|
|
}
|
|
|
|
|
2015-12-28 13:52:52 +01:00
|
|
|
variable "key_name" {
|
|
|
|
description = "Desired name of AWS key pair"
|
|
|
|
}
|
|
|
|
|
2014-10-14 02:24:25 +02:00
|
|
|
variable "aws_region" {
|
2015-08-31 10:19:02 +02:00
|
|
|
description = "AWS region to launch servers."
|
|
|
|
default = "us-west-2"
|
2014-10-14 02:24:25 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
# Ubuntu Precise 12.04 LTS (x64)
|
|
|
|
variable "aws_amis" {
|
2015-08-31 10:19:02 +02:00
|
|
|
default = {
|
|
|
|
eu-west-1 = "ami-b1cf19c6"
|
|
|
|
us-east-1 = "ami-de7ab6b6"
|
|
|
|
us-west-1 = "ami-3f75767a"
|
|
|
|
us-west-2 = "ami-21f78e11"
|
|
|
|
}
|
2014-10-14 02:24:25 +02:00
|
|
|
}
|