forked from telia-oss/terraform-aws-ecs-fargate
-
Notifications
You must be signed in to change notification settings - Fork 1
/
outputs.tf
42 lines (35 loc) · 1.27 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
# ------------------------------------------------------------------------------
# Output
# ------------------------------------------------------------------------------
output "service_arn" {
description = "The Amazon Resource Name (ARN) that identifies the service."
value = "${aws_ecs_service.service.id}"
}
output "target_group_arn" {
description = "The ARN of the Target Group."
value = "${aws_lb_target_group.task.arn}"
}
output "target_group_name" {
description = "The Name of the Target Group."
value = "${aws_lb_target_group.task.name}"
}
output "task_role_arn" {
description = "The Amazon Resource Name (ARN) specifying the service role."
value = "${aws_iam_role.task.arn}"
}
output "task_role_name" {
description = "The name of the service role."
value = "${aws_iam_role.task.name}"
}
output "service_sg_id" {
description = "The Amazon Resource Name (ARN) that identifies the service security group."
value = "${aws_security_group.ecs_service.id}"
}
output "service_name" {
description = "The name of the service."
value = "${aws_ecs_service.service.name}"
}
output "log_group_name" {
description = "The name of the Cloudwatch log group for the task."
value = "${aws_cloudwatch_log_group.main.name}"
}