-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathoutputs.tf
30 lines (26 loc) · 952 Bytes
/
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
output json {
value = module.definition.json_map_encoded_list
description = "JSON string representing the container definition"
}
output json_map {
value = module.definition.json_map_encoded
description = "Object representing the container definition"
}
output secrets_policy_arns {
value = [
for resource, outputs in aws_iam_policy.secret_access_policy :
outputs.arn
]
description = "Amazon Resource Name of an IAM Policies granting access to read the SSM Parameters created in this module. Empty if no secrets are present"
}
output container_name {
value = var.name
description = "The name of the container"
}
output container_ports {
value = var.containerPorts
description = <<EOF
Port mappings allow containers to access ports on the host container instance to send or receive traffic.
Each port number given will be mapped from the container to the host over the tcp protocol.
EOF
}