-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
50 lines (31 loc) · 810 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
38
39
40
41
42
43
44
45
46
47
48
49
50
variable "access_key" {}
variable "secret_key" {}
variable "cidr_block" {}
variable "aws_internet_gateway" {}
# variable "public_subnet-1" {}
# variable "public_subnet-2" {}
variable "route-name" {}
variable "security-grp-name" {}
variable "vm-type" {}
variable "env" {}
variable "public-subnets" {
type = list
default = ["10.0.4.0/24","10.0.5.0/24","10.0.6.0/24","10.0.7.0/24"]
}
variable "azs" {
type = list
default = ["us-east-1a","us-east-1b","us-east-1c"]
}
variable "private-subnets" {
type = list
default = ["10.0.40.0/24","10.0.50.0/24","10.0.60.0/24","10.0.70.0/24"]
}
variable "privateroute-name" {}
variable "amis" {
description = "amis by region"
default = {
us-east-1 = "ami-090bf5dfec4b655c4"
us-east-2 = "ami-0beaa649c482330f7"
}
}
variable "region" {}