-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
84 lines (75 loc) · 1.49 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
variable "aws_region" {
type = string
default = "us-west-2"
}
variable "vpc_name" {
type = string
default = "demo_vpc"
}
variable "vpc_cidr" {
type = string
default = "10.0.0.0/16"
}
variable "private_subnets" {
default = {
"private_subnet_1" = 1
"private_subnet_2" = 2
"private_subnet_3" = 3
}
}
variable "public_subnets" {
default = {
"public_subnet_1" = 1
"public_subnet_2" = 2
"public_subnet_3" = 3
}
}
variable "variables_sub_cidr" {
description = "CIDR Block for the Variables Subnet"
type = string
default = "10.0.202.0/24"
}
variable "variables_sub_az" {
description = "Availability Zone used Variables Subnet"
type = string
default = "us-west-2a"
}
variable "variables_sub_auto_ip" {
description = "Set Automatic IP Assigment for Variables Subnet"
type = bool
default = true
}
variable "environment" {
type = string
description = "Infrastructure environment. eg. dev, prod, etc"
default = "dev"
}
variable "us-east-1-azs" {
type = list(string)
default = [
"us-east-1a",
"us-east-1b",
"us-east-1c",
"us-east-1d",
"us-east-1e"
]
}
variable "ip" {
type = map(string)
default = {
prod = "10.0.150.0/24"
dev = "10.0.51.0/24"
}
}
variable "my_aws_pem" {
type = string
default = "MyAWSKey.pem"
}
variable "my_aws_pub" {
type = string
default = "wrong pub key"
}
variable "aws_jenkins_pem" {
type = string
default = "MyAWSKey.pem"
}