-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
176 lines (148 loc) · 3.86 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
#
# shared/config/backend.tfvars
#
#================================#
# Terraform AWS Backend Settings #
#================================#
variable "region" {
type = string
description = "AWS Region"
}
variable "profile" {
type = string
description = "AWS Profile (required by the backend but also used for other resources)"
}
variable "bucket" {
type = string
description = "AWS S3 TF State Backend Bucket"
}
variable "dynamodb_table" {
type = string
description = "AWS DynamoDB TF Lock state table name"
}
variable "encrypt" {
type = bool
description = "Enable AWS DynamoDB with server side encryption"
}
#
# config/common.tfvars
#
#=============================#
# Project Variables #
#=============================#
variable "project" {
type = string
description = "Project Name"
}
variable "project_long" {
type = string
description = "Project Long Name"
}
variable "environment" {
type = string
description = "Environment Name"
}
variable "region_secondary" {
type = string
description = "AWS Secondary Region for HA"
}
variable "management_account_id" {
type = string
description = "Account: Management"
}
variable "security_account_id" {
type = string
description = "Account: Security & Users Management"
}
variable "shared_account_id" {
type = string
description = "Account: Shared Resources"
}
#===========================================#
# Networking #
#===========================================#
variable "vpc_apps_devstg_created" {
description = "true if Apps Dev account VPC is created for Peering purposes"
type = bool
default = true
}
variable "vpc_apps_devstg_eks_created" {
description = "true if Apps Dev account EKS VPC is created for Peering purposes"
type = bool
default = true
}
variable "vpc_apps_prd_created" {
description = "true if Apps Prd account VPC is created for Peering purposes"
type = bool
default = true
}
variable "vpc_vault_hvn_created" {
description = "true if the Hahicorp Vault Cloud HVN account VPC is created for Peering purposes"
type = bool
default = true
}
variable "vpc_vault_hvn_peering_connection_id" {
description = "Hahicorp Vault Cloud HVN VPC peering ID"
type = string
default = "pcx-0109e4ef7e784ee06"
}
variable "vpc_vault_hvn_cidr" {
description = "Hahicorp Vault Cloud HVN VPC CIDR segment"
type = string
default = "172.25.16.0/20"
}
variable "vpc_enable_nat_gateway" {
description = "Enable NAT Gateway"
type = bool
default = false
}
variable "vpc_single_nat_gateway" {
description = "Single NAT Gateway"
type = bool
default = true
}
variable "vpc_enable_dns_hostnames" {
description = "Enable DNS HOSTNAME"
type = bool
default = true
}
variable "vpc_enable_vpn_gateway" {
description = "Enable VPN Gateway"
type = bool
default = false
}
variable "vpc_enable_s3_endpoint" {
description = "Enable S3 endpoint"
type = bool
default = true
}
variable "vpc_enable_dynamodb_endpoint" {
description = "Enable DynamoDB endpoint"
type = bool
default = true
}
variable "enable_kms_endpoint" {
description = "Enable KMS endpoint"
type = bool
default = false
}
variable "enable_kms_endpoint_private_dns" {
description = "Enable KMS endpoint"
type = bool
default = false
}
variable "manage_default_network_acl" {
description = "Manage default Network ACL"
type = bool
default = false
}
variable "public_dedicated_network_acl" {
description = "Manage default Network ACL"
type = bool
default = true
}
variable "private_dedicated_network_acl" {
description = "Manage default Network ACL"
type = bool
default = true
}