forked from aws-samples/aws-mainframe-modernization-carddemo
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathoutputs.tf
More file actions
29 lines (24 loc) · 748 Bytes
/
Copy pathoutputs.tf
File metadata and controls
29 lines (24 loc) · 748 Bytes
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
output "cluster_name" {
description = "ECS cluster name."
value = aws_ecs_cluster.this.name
}
output "cluster_arn" {
description = "ECS cluster ARN."
value = aws_ecs_cluster.this.arn
}
output "service_names" {
description = "Map of program -> ECS service name."
value = { for p, s in aws_ecs_service.program : p => s.name }
}
output "task_definition_arns" {
description = "Map of program -> task definition ARN."
value = { for p, t in aws_ecs_task_definition.program : p => t.arn }
}
output "task_role_arn" {
description = "ECS task role ARN."
value = aws_iam_role.task.arn
}
output "execution_role_arn" {
description = "ECS execution role ARN."
value = aws_iam_role.execution.arn
}