-
Notifications
You must be signed in to change notification settings - Fork 19
/
outputs.tf
272 lines (219 loc) · 9.32 KB
/
outputs.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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
output "atlantis_ssh_public_key" {
description = "Atlantis SSH Public Key"
value = module.ssh_key_pair.public_key
}
output "atlantis_url" {
description = "The URL endpoint for the atlantis server"
value = local.atlantis_url
}
output "atlantis_webhook_url" {
description = "atlantis webhook URL"
value = local.atlantis_webhook_url
}
output "ecr_registry_id" {
value = module.ecs_web_app.ecr_registry_id
description = "Registry ID"
}
output "ecr_repository_url" {
value = module.ecs_web_app.ecr_repository_url
description = "Repository URL"
}
output "ecr_repository_name" {
value = module.ecs_web_app.ecr_repository_name
description = "Repository name"
}
output "alb_ingress_target_group_name" {
description = "ALB Target Group name"
value = module.ecs_web_app.alb_ingress_target_group_name
}
output "alb_ingress_target_group_arn" {
description = "ALB Target Group ARN"
value = module.ecs_web_app.alb_ingress_target_group_arn
}
output "alb_ingress_target_group_arn_suffix" {
description = "ALB Target Group ARN suffix"
value = module.ecs_web_app.alb_ingress_target_group_arn_suffix
}
output "container_definition_json" {
description = "JSON encoded list of container definitions for use with other terraform resources such as aws_ecs_task_definition"
value = module.ecs_web_app.container_definition_json
sensitive = true
}
output "container_definition_json_map" {
description = "JSON encoded container definitions for use with other terraform resources such as aws_ecs_task_definition"
value = module.ecs_web_app.container_definition_json_map
sensitive = true
}
output "ecs_exec_role_policy_id" {
description = "The ECS service role policy ID, in the form of `role_name:role_policy_name`"
value = module.ecs_web_app.ecs_exec_role_policy_id
}
output "ecs_exec_role_policy_name" {
description = "ECS service role name"
value = module.ecs_web_app.ecs_exec_role_policy_name
}
output "ecs_service_name" {
description = "ECS Service name"
value = module.ecs_web_app.ecs_service_name
}
output "ecs_service_role_arn" {
description = "ECS Service role ARN"
value = module.ecs_web_app.ecs_service_role_arn
}
output "ecs_task_exec_role_name" {
description = "ECS Task role name"
value = module.ecs_web_app.ecs_task_exec_role_name
}
output "ecs_task_exec_role_arn" {
description = "ECS Task exec role ARN"
value = module.ecs_web_app.ecs_task_exec_role_arn
}
output "ecs_task_role_name" {
description = "ECS Task role name"
value = module.ecs_web_app.ecs_task_role_name
}
output "ecs_task_role_arn" {
description = "ECS Task role ARN"
value = module.ecs_web_app.ecs_task_role_arn
}
output "ecs_task_role_id" {
description = "ECS Task role id"
value = module.ecs_web_app.ecs_task_role_id
}
output "ecs_service_security_group_id" {
description = "Security Group ID of the ECS task"
value = module.ecs_web_app.ecs_service_security_group_id
}
output "ecs_task_definition_family" {
description = "ECS task definition family"
value = module.ecs_web_app.ecs_task_definition_family
}
output "ecs_task_definition_revision" {
description = "ECS task definition revision"
value = module.ecs_web_app.ecs_task_definition_revision
}
output "codebuild_project_name" {
description = "CodeBuild project name"
value = module.ecs_web_app.codebuild_project_name
}
output "codebuild_project_id" {
description = "CodeBuild project ID"
value = module.ecs_web_app.codebuild_project_id
}
output "codebuild_role_id" {
description = "CodeBuild IAM Role ID"
value = module.ecs_web_app.codebuild_role_id
}
output "codebuild_role_arn" {
description = "CodeBuild IAM Role ARN"
value = module.ecs_web_app.codebuild_role_arn
}
output "codebuild_cache_bucket_name" {
description = "CodeBuild cache S3 bucket name"
value = module.ecs_web_app.codebuild_cache_bucket_name
}
output "codebuild_cache_bucket_arn" {
description = "CodeBuild cache S3 bucket ARN"
value = module.ecs_web_app.codebuild_cache_bucket_arn
}
output "codebuild_badge_url" {
description = "The URL of the build badge when badge_enabled is enabled"
value = module.ecs_web_app.codebuild_badge_url
}
output "codepipeline_id" {
description = "CodePipeline ID"
value = module.ecs_web_app.codepipeline_id
}
output "codepipeline_arn" {
description = "CodePipeline ARN"
value = module.ecs_web_app.codepipeline_arn
}
output "codepipeline_webhook_id" {
description = "The CodePipeline webhook's ID"
value = module.ecs_web_app.codepipeline_webhook_id
}
output "codepipeline_webhook_url" {
description = "The CodePipeline webhook's URL. POST events to this endpoint to trigger the target"
value = module.ecs_web_app.codepipeline_webhook_url
sensitive = true
}
output "ecs_cloudwatch_autoscaling_scale_up_policy_arn" {
description = "ARN of the scale up policy"
value = module.ecs_web_app.ecs_cloudwatch_autoscaling_scale_up_policy_arn
}
output "ecs_cloudwatch_autoscaling_scale_down_policy_arn" {
description = "ARN of the scale down policy"
value = module.ecs_web_app.ecs_cloudwatch_autoscaling_scale_down_policy_arn
}
output "ecs_alarms_cpu_utilization_high_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.ecs_alarms_cpu_utilization_high_cloudwatch_metric_alarm_id
description = "ECS CPU utilization high CloudWatch metric alarm ID"
}
output "ecs_alarms_cpu_utilization_high_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.ecs_alarms_cpu_utilization_high_cloudwatch_metric_alarm_arn
description = "ECS CPU utilization high CloudWatch metric alarm ARN"
}
output "ecs_alarms_cpu_utilization_low_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.ecs_alarms_cpu_utilization_low_cloudwatch_metric_alarm_id
description = "ECS CPU utilization low CloudWatch metric alarm ID"
}
output "ecs_alarms_cpu_utilization_low_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.ecs_alarms_cpu_utilization_low_cloudwatch_metric_alarm_arn
description = "ECS CPU utilization low CloudWatch metric alarm ARN"
}
output "ecs_alarms_memory_utilization_high_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.ecs_alarms_memory_utilization_high_cloudwatch_metric_alarm_id
description = "ECS Memory utilization high CloudWatch metric alarm ID"
}
output "ecs_alarms_memory_utilization_high_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.ecs_alarms_memory_utilization_high_cloudwatch_metric_alarm_arn
description = "ECS Memory utilization high CloudWatch metric alarm ARN"
}
output "ecs_alarms_memory_utilization_low_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.ecs_alarms_memory_utilization_low_cloudwatch_metric_alarm_id
description = "ECS Memory utilization low CloudWatch metric alarm ID"
}
output "ecs_alarms_memory_utilization_low_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.ecs_alarms_memory_utilization_low_cloudwatch_metric_alarm_arn
description = "ECS Memory utilization low CloudWatch metric alarm ARN"
}
output "httpcode_target_3xx_count_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.httpcode_target_3xx_count_cloudwatch_metric_alarm_id
description = "ALB Target Group 3xx count CloudWatch metric alarm ID"
}
output "httpcode_target_3xx_count_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.httpcode_target_3xx_count_cloudwatch_metric_alarm_arn
description = "ALB Target Group 3xx count CloudWatch metric alarm ARN"
}
output "httpcode_target_4xx_count_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.httpcode_target_4xx_count_cloudwatch_metric_alarm_id
description = "ALB Target Group 4xx count CloudWatch metric alarm ID"
}
output "httpcode_target_4xx_count_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.httpcode_target_4xx_count_cloudwatch_metric_alarm_arn
description = "ALB Target Group 4xx count CloudWatch metric alarm ARN"
}
output "httpcode_target_5xx_count_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.httpcode_target_5xx_count_cloudwatch_metric_alarm_id
description = "ALB Target Group 5xx count CloudWatch metric alarm ID"
}
output "httpcode_target_5xx_count_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.httpcode_target_5xx_count_cloudwatch_metric_alarm_arn
description = "ALB Target Group 5xx count CloudWatch metric alarm ARN"
}
output "httpcode_elb_5xx_count_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.httpcode_elb_5xx_count_cloudwatch_metric_alarm_id
description = "ALB 5xx count CloudWatch metric alarm ID"
}
output "httpcode_elb_5xx_count_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.httpcode_elb_5xx_count_cloudwatch_metric_alarm_arn
description = "ALB 5xx count CloudWatch metric alarm ARN"
}
output "target_response_time_average_cloudwatch_metric_alarm_id" {
value = module.ecs_web_app.target_response_time_average_cloudwatch_metric_alarm_id
description = "ALB Target Group response time average CloudWatch metric alarm ID"
}
output "target_response_time_average_cloudwatch_metric_alarm_arn" {
value = module.ecs_web_app.target_response_time_average_cloudwatch_metric_alarm_arn
description = "ALB Target Group response time average CloudWatch metric alarm ARN"
}