terraform/examples/aws-asg/variables.tf

43 lines
832 B
Terraform
Raw Normal View History

2015-06-08 01:28:46 +02:00
variable "aws_region" {
description = "The AWS region to create things in."
default = "us-east-1"
2015-06-08 01:28:46 +02:00
}
2015-06-09 19:44:22 +02:00
# ubuntu-trusty-14.04 (x64)
2015-06-08 01:28:46 +02:00
variable "aws_amis" {
default = {
"us-east-1" = "ami-5f709f34"
"us-west-2" = "ami-7f675e4f"
}
2015-06-08 01:28:46 +02:00
}
variable "availability_zones" {
default = "us-east-1b,us-east-1c,us-east-1d,us-east-1e"
description = "List of availability zones, use AWS CLI to find your "
2015-06-08 01:28:46 +02:00
}
variable "key_name" {
description = "Name of AWS key pair"
2015-06-08 01:28:46 +02:00
}
variable "instance_type" {
default = "t2.micro"
description = "AWS instance type"
2015-06-08 01:28:46 +02:00
}
variable "asg_min" {
description = "Min numbers of servers in ASG"
default = "1"
2015-06-08 01:28:46 +02:00
}
variable "asg_max" {
description = "Max numbers of servers in ASG"
default = "2"
2015-06-08 01:28:46 +02:00
}
variable "asg_desired" {
description = "Desired numbers of servers in ASG"
default = "1"
2015-06-08 01:31:17 +02:00
}