forked from terraform-community-modules/tf_aws_ecs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoutputs.tf
More file actions
38 lines (32 loc) · 705 Bytes
/
outputs.tf
File metadata and controls
38 lines (32 loc) · 705 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
30
31
32
33
34
35
36
37
38
output "cluster_id" {
value = aws_ecs_cluster.cluster.id
}
output "cluster_name" {
value = aws_ecs_cluster.cluster.name
}
output "instance_role_arn" {
value = aws_iam_role.ecs_role.arn
}
output "instance_role_id" {
value = aws_iam_role.ecs_role.id
}
output "autoscaling_group" {
value = {
id = aws_autoscaling_group.ecs.id
name = aws_autoscaling_group.ecs.name
arn = aws_autoscaling_group.ecs.arn
}
}
output "iam_role" {
value = {
name = aws_iam_role.ecs_role.name
arn = aws_iam_role.ecs_role.arn
}
}
output "security_group" {
value = {
id = aws_security_group.ecs.id
name = aws_security_group.ecs.name
arn = aws_security_group.ecs.arn
}
}