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