-
Notifications
You must be signed in to change notification settings - Fork 750
/
variables.tf
38 lines (37 loc) · 1.03 KB
/
variables.tf
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
28
29
30
31
32
33
34
35
36
37
variable "aws_access_key" {}
variable "aws_secret_key" {}
variable "aws_region" {}
variable "amis" {
description = "AMIs by region"
default = {
us-east-1 = "ami-97785bed" # ubuntu 14.04 LTS
us-east-2 = "ami-f63b1193" # ubuntu 14.04 LTS
us-west-1 = "ami-824c4ee2" # ubuntu 14.04 LTS
us-west-2 = "ami-f2d3638a" # ubuntu 14.04 LTS
}
}
variable "vpc_cidr" {}
variable "vpc_name" {}
variable "IGW_name" {}
variable "key_name" {}
variable "public_subnet1_cidr" {}
variable "public_subnet2_cidr" {}
variable "public_subnet3_cidr" {}
variable "private_subnet_cidr" {}
variable "public_subnet1_name" {}
variable "public_subnet2_name" {}
variable "public_subnet3_name" {}
variable "private_subnet_name" {}
variable Main_Routing_Table {}
variable "azs" {
description = "Run the EC2 Instances in these Availability Zones"
default = ["us-east-1a", "us-east-1b", "us-east-1c"]
}
variable "environment" { default = "dev" }
variable "instance_type" {
default = {
dev = "t2.nano"
test = "t2.micro"
prod = "t2.medium"
}
}