forked from mavrick202/terraform-functions-repo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
39 lines (37 loc) · 977 Bytes
/
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"
type = "map"
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 Main_Routing_Table {}
variable "azs" {
description = "Run the EC2 Instances in these Availability Zones"
type = "list"
default = ["us-east-1a", "us-east-1b", "us-east-1c"]
}
variable "blocks" {
description = "Use the CIDR Blocks for the Subnets"
type = "list"
default = ["10.1.1.0/24", "10.1.2.0/24", "10.1.3.0/24"]
}
variable "environment" { default = "dev" }
variable "instance_type" {
type = "map"
default = {
dev = "t2.nano"
test = "t2.micro"
prod = "t2.medium"
}
}