-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoutputs.tf
More file actions
45 lines (38 loc) · 1.13 KB
/
outputs.tf
File metadata and controls
45 lines (38 loc) · 1.13 KB
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
/*
* Task definition outputs
*/
output "task_def_arn" {
description = "ARN of the task definition"
value = aws_ecs_task_definition.td.arn
}
output "task_def_family" {
description = "Family of the task definition"
value = aws_ecs_task_definition.td.family
}
output "task_def_revision" {
description = "Revision number of the task definition"
value = aws_ecs_task_definition.td.revision
}
/*
* Service outputs
*/
output "service_id" {
description = "ARN of the ECS service"
value = aws_ecs_service.service.id
}
output "service_name" {
description = "Name of the ECS service"
value = aws_ecs_service.service.name
}
output "service_cluster" {
description = "ARN of the ECS cluster"
value = aws_ecs_service.service.cluster
}
output "service_role" {
description = "ARN of the IAM role that allows Amazon ECS to make calls to your load balancer on your behalf"
value = aws_ecs_service.service.iam_role
}
output "service_desired_count" {
description = "The number of instances of the task definition to place and keep running"
value = aws_ecs_service.service.desired_count
}