forked from trussworks/terraform-aws-ecs-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
outputs.tf
59 lines (48 loc) · 1.95 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_security_group_id" {
description = "Security Group ID assigned to the ECS tasks."
value = join("", aws_security_group.ecs_sg.*.id)
}
output "task_execution_role_arn" {
description = "The ARN of the task execution role that the Amazon ECS container agent and the Docker daemon can assume."
value = join("", aws_iam_role.task_execution_role.*.arn)
}
output "task_execution_role_name" {
description = "The name of the task execution role that the Amazon ECS container agent and the Docker daemon can assume."
value = join("", aws_iam_role.task_execution_role.*.name)
}
output "task_role_arn" {
description = "The ARN of the IAM role assumed by Amazon ECS container tasks."
value = aws_iam_role.task_role.arn
}
output "task_role_name" {
description = "The name of the IAM role assumed by Amazon ECS container tasks."
value = aws_iam_role.task_role.name
}
output "task_role" {
description = "The IAM role object assumed by Amazon ECS container tasks."
value = aws_iam_role.task_role
}
output "task_execution_role" {
description = "The role object of the task execution role that the Amazon ECS container agent and the Docker daemon can assume."
value = aws_iam_role.task_execution_role
}
output "task_definition_arn" {
description = "Full ARN of the Task Definition (including both family and revision)."
value = aws_ecs_task_definition.main.arn
}
output "task_definition_family" {
description = "The family of the Task Definition."
value = aws_ecs_task_definition.main.family
}
output "awslogs_group" {
description = "Name of the CloudWatch Logs log group containers should use."
value = local.awslogs_group
}
output "awslogs_group_arn" {
description = "ARN of the CloudWatch Logs log group containers should use."
value = aws_cloudwatch_log_group.main.arn
}
output "ecs_service_id" {
description = "ARN of the ECS service."
value = aws_ecs_service.main.id
}