-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoutput.tf
48 lines (43 loc) · 1.41 KB
/
output.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
output "json_map_encoded_list" {
description = "JSON string encoded list of container definitions for use with other terraform resources such as aws_ecs_task_definition"
value = module.ecs-proxy-container-definition.json_map_encoded_list
}
output "json_map_encoded" {
description = "JSON string encoded container definitions for use with other terraform resources such as aws_ecs_task_definition"
value = module.ecs-proxy-container-definition.json_map_encoded
}
output "json_map_object" {
description = "JSON map encoded container definition"
value = module.ecs-proxy-container-definition.json_map_object
}
output "proxy_configuration" {
value = {
type = "APPMESH"
container_name = local.appmesh_envoy_container_name
properties = {
ProxyIngressPort = "15000"
AppPorts = var.app-ports
EgressIgnoredIPs = "169.254.170.2,169.254.169.254"
IgnoredGID = ""
EgressIgnoredPorts = var.egress-ignored-ports
IgnoredUID = "1337"
ProxyEgressPort = "15001"
}
}
}
output "container_dependant" {
value = {
containerName = local.appmesh_envoy_container_name
condition = "HEALTHY"
}
}
output "service_registries" {
value = [
{
registry_arn = var.aws_service_discovery_service_arn
container_port = null
container_name = var.container_name
port = null
}
]
}