-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.tf
203 lines (166 loc) · 5.29 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
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
variable "region" {
type = string
default = "eu-west-2"
}
variable "environment" {
type = string
}
variable "repo_name" {
type = string
default = "prm-deductions-infra"
}
variable "my_ip" {
default = "127.0.0.1"
}
variable "deductions_private_component_name" {
type = string
}
variable "deductions_core_component_name" {
type = string
}
variable "deductions_private_cidr" {
type = string
}
variable "deductions_private_vpn_client_subnet" {
type = string
}
variable "deductions_private_public_subnets" {
type = list(any)
}
variable "deductions_private_private_subnets" {
type = list(any)
}
variable "deductions_private_database_subnets" {
type = list(any)
}
variable "deductions_private_azs" {
type = list(any)
}
variable "deductions_core_cidr" {
type = string
}
variable "deductions_core_private_subnets" {
type = list(any)
}
variable "deductions_core_database_subnets" {
type = list(any)
}
variable "deductions_core_azs" {
type = list(any)
}
variable "gocd_cidr" {}
variable "gocd_environment" {
default = "prod"
}
# deductions-public mq variables
variable "mq_deployment_mode" {
type = string
}
variable "apply_immediately" {
type = string
default = "false"
description = "Specifies whether any cluster modifications are applied immediately, or during the next maintenance window"
}
variable "auto_minor_version_upgrade" {
type = string
default = "true"
description = "Enables automatic upgrades to new minor versions for brokers, as Apache releases the versions"
}
variable "deployment_mode" {
type = string
default = "ACTIVE_STANDBY_MULTI_AZ"
description = "The deployment mode of the broker. Supported: SINGLE_INSTANCE and ACTIVE_STANDBY_MULTI_AZ"
}
variable "engine_type" {
type = string
default = "ActiveMQ"
description = "The type of broker engine. Currently, Amazon MQ supports only ActiveMQ"
}
variable "engine_version" {
type = string
default = "5.18.4"
description = "The version of the broker engine."
}
variable "host_instance_type" {
type = string
default = "mq.t2.micro"
description = "The broker's instance type. e.g. mq.t2.micro or mq.m4.large"
}
variable "general_log" {
type = string
default = "true"
description = "Enables general logging via CloudWatch"
}
variable "audit_log" {
type = string
default = "true"
description = "Enables audit logging. User management action made using JMX or the ActiveMQ Web Console is logged"
}
variable "maintenance_day_of_week" {
type = string
default = "SUNDAY"
description = "The maintenance day of the week. e.g. MONDAY, TUESDAY, or WEDNESDAY"
}
variable "maintenance_time_of_day" {
type = string
default = "03:00"
description = "The maintenance time, in 24-hour format. e.g. 02:00"
}
variable "maintenance_time_zone" {
type = string
default = "UTC"
description = "The maintenance time zone, in either the Country/City format, or the UTC offset format. e.g. CET"
}
variable "state_db_allocated_storage" {}
variable "state_db_engine_version" {}
variable "state_db_instance_class" {}
variable "mhs_vpc_cidr_block" {
type = string
description = "The CIDR block to use for the MHS VPC that is created. Should be a /16 block. Note that this cidr block must not overlap with the cidr blocks of the VPCs that the MHS VPC is to be peered with."
}
variable "mhs_vpc_additional_cidr_block" {
type = string
description = "The additional CIDR block to use for MHS VPC"
default = ""
}
variable "mhs_cidr_newbits" {
description = "Defines the size of the subnets"
}
variable "test_harness_mhs_cluster_domain_name" { default = "" }
variable "repo_mhs_cluster_domain_name" {}
variable "common_account_id" {}
variable "common_account_role" {}
variable "deploy_cross_account_vpc_peering" {}
variable "deploy_mhs_test_harness" {}
variable "deploy_prod_route53_zone" { default = false }
variable "mhs_repo_public_subnets_outbound" {}
variable "mhs_repo_public_subnets_inbound" {}
variable "mhs_repo_private_subnets" {}
variable "mhs_test_harness_public_subnets_outbound" {}
variable "mhs_test_harness_public_subnets_inbound" {}
variable "mhs_test_harness_private_subnets" {}
variable "inbound_sig_ips" {}
variable "grant_access_to_queues_through_vpn" {}
variable "is_restricted_account" {
default = false
}
variable "alarm_lambda_zip" {
type = string
description = "path to zipfile containing lambda code to dispatch alarm notifications to MS Teams"
default = "../notification-lambda/build/alarm.zip"
}
variable "ehr_hard_deletion_lambda_zip" {
type = string
description = "path to zipfile containing lambda code for the ehr-hard-deletion-lambda"
default = "../ehr-hard-deletion-lambda/build/ehr-hard-deletion-lambda.zip"
}
variable "generate_cost_report_lambda_zip" {
type = string
description = "path to zip file containing lambda code to schedule cost report"
default = "../generate-cost-report-lambda/build/generate-cost-report-lambda.zip"
}
variable "s3_backup_enabled" {
type = bool
default = false
description = "Set to true if the environment needs backing up e.g. in production. This will result in versioning and object locking being enabled for select buckets containing critical live data."
}