forked from techservicesillinois/terraform-aws-ecs-service
-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
35 lines (30 loc) · 758 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
31
32
33
34
35
output "id" {
value = element(
concat(
aws_ecs_service.awsvpc_all.*.id,
aws_ecs_service.awsvpc_lb.*.id,
aws_ecs_service.awsvpc_sd.*.id,
aws_ecs_service.awsvpc.*.id,
aws_ecs_service.all.*.id,
aws_ecs_service.lb.*.id,
aws_ecs_service.sd.*.id,
aws_ecs_service.default.*.id,
),
0,
)
}
output "fqdn" {
value = element(concat(aws_route53_record.default.*.fqdn, [""]), 0)
}
output "target_group_arn" {
value = element(concat(aws_lb_target_group.default.*.arn, [""]), 0)
}
output "task_definition_arn" {
value = local.task_definition_arn
}
output "security_group_id" {
value = element(concat(aws_security_group.default.*.id, [""]), 0)
}
output "subnet_ids" {
value = local.all_subnets
}