This repository has been archived by the owner on Sep 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvars.tf
198 lines (163 loc) · 4.8 KB
/
vars.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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
#=================================================
# PROVIDER
#=================================================
variable "shared_services_account_id" {
type = string
description = "Account ID for DNS shared services role."
}
variable "workspace_type" {
type = string
description = "Terraform Workspace"
}
variable "account_id" {
type = string
description = "AWS Account ID"
}
#=================================================
# PROVISION ACCOUNT
#=================================================
variable "provision_account_role_name" {
type = string
default = "ProvisionAccount"
description = "Role name for provision account."
}
#=================================================
# CORE
#=================================================
variable "env" {
type = string
description = "Environment deploying to."
}
variable "app" {
type = string
description = "Name of application."
}
variable "region" {
type = string
description = "AWS region deploying to."
}
#=================================================
# ROUTE 53
#=================================================
variable "hosted_zone_name" {
type = string
description = "Name of hosted zone for application route53."
}
#=================================================
# SES
#=================================================
variable "ses_arn" {
type = string
description = "The role to assume for sending reports via SES."
}
#=================================================
# ECS Service
#=================================================
variable "cpu" {
type = number
description = "Desired CPU for application."
}
variable "memory" {
type = number
description = "Desired memory for applicaiton."
}
variable "desired_count" {
type = number
description = "Desired count to launch application with."
}
variable "min_count" {
type = number
description = "Minimum number of ECS tasks to have running at a time."
}
variable "max_count" {
type = number
description = "Maximum number of ECS tasks to have running at a time."
}
#=================================================
# REPORT EMAIL ADDRESS
#=================================================
variable "archival_email_address" {
type = string
description = "BCC email address for emailed reports."
}
#=================================================
# SCHEDULER
#=================================================
variable "email_minutes" {
type = number
description = "scheduled interval in minutes for phishing emails"
}
variable "task_minutes" {
type = number
description = "scheduled interval in minutes for notification emails and tasks"
}
variable "failed_emails_minutes" {
type = number
description = "scheduled interval in minutes for failed emails from mailgun"
}
#=================================================
# WEB
#=================================================
variable "web_image_repo" {
type = string
description = "The name of the Github repo for the web application."
}
variable "web_image_tag" {
type = string
description = "The tag for the web image build."
}
#=================================================
# API
#=================================================
variable "api_image_repo" {
type = string
description = "The name of the Github repo for the api application."
}
variable "api_image_tag" {
type = string
description = "The tag for the api image build."
}
variable "reports_from_address" {
type = string
description = "The email address to receive reports from."
}
#=================================================
# MAILGUN
#=================================================
variable "mailgun_api_key" {
type = string
description = "The api key for Mailgun."
}
#=================================================
# MAXMIND
#=================================================
variable "maxmind_user_id" {
type = string
description = "The user ID for Maxmind."
}
variable "maxmind_license_key" {
type = string
description = "The license key for Maxmind."
}
#=================================================
# MONGO ATLAS
#=================================================
variable "atlasorgid" {
description = "Atlas Organization ID"
}
variable "atlas_public_key" {
description = "The public API key for MongoDB Atlas"
}
variable "atlas_private_key" {
description = "The private API key for MongoDB Atlas"
}
variable "mongo_instance_size" {
description = "The instance size for MongoDB Atlas"
}
#=================================================
# ABOUT
#=================================================
variable "deployed_date" {
type = string
description = "Date of latest deployment."
}