16 lines
264 B
HCL
16 lines
264 B
HCL
output "name" {
|
|
value = local.app_slug
|
|
}
|
|
output "ingress_backend_exposure" {
|
|
value = [for port_map in var.port_mapper :
|
|
{
|
|
"service" = {
|
|
"name" = local.app_slug
|
|
"port" = {
|
|
"name" = port_map.name
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|