forked from cloudposse/terraform-aws-ecs-alb-service-task
-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
66 lines (54 loc) · 1.58 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
output "ecs_exec_role_policy_id" {
description = "The ECS service role policy ID, in the form of role_name:role_policy_name"
value = aws_iam_role_policy.ecs_exec.id
}
output "ecs_exec_role_policy_name" {
description = "ECS service role name"
value = aws_iam_role_policy.ecs_exec.name
}
output "service_name" {
description = "ECS Service name"
value = element(
coalescelist(
aws_ecs_service.default.*.name,
aws_ecs_service.ignore_changes_task_definition.*.name,
),
0,
)
}
output "service_role_arn" {
description = "ECS Service role ARN"
value = aws_iam_role.ecs_service.arn
}
output "task_exec_role_name" {
description = "ECS Task role name"
value = aws_iam_role.ecs_exec.name
}
output "task_exec_role_arn" {
description = "ECS Task exec role ARN"
value = aws_iam_role.ecs_exec.arn
}
output "task_role_name" {
description = "ECS Task role name"
value = aws_iam_role.ecs_task.name
}
output "task_role_arn" {
description = "ECS Task role ARN"
value = aws_iam_role.ecs_task.arn
}
output "task_role_id" {
description = "ECS Task role id"
value = aws_iam_role.ecs_task.unique_id
}
output "service_security_group_id" {
description = "Security Group ID of the ECS task"
value = aws_security_group.ecs_service.id
}
output "task_definition_family" {
description = "ECS task definition family"
value = aws_ecs_task_definition.default.family
}
output "task_definition_revision" {
description = "ECS task definition revision"
value = aws_ecs_task_definition.default.revision
}