-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy pathoutputs.tf
89 lines (72 loc) · 2.7 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
output "cluster_id" {
description = "The ID of the created ECS cluster."
value = aws_ecs_cluster.cluster.id
}
output "cluster_name" {
description = "The name of the created ECS cluster."
value = aws_ecs_cluster.cluster.name
}
output "cluster_arn" {
description = "The ARN of the created ECS cluster."
value = aws_ecs_cluster.cluster.arn
}
output "autoscaling_group_name" {
description = "The name of the autoscaling group for the ECS container instances."
value = aws_autoscaling_group.cluster.name
}
output "autoscaling_group_arn" {
description = "The ARN of the autoscaling group for the ECS container instances."
value = aws_autoscaling_group.cluster.arn
}
output "launch_template_name" {
description = "The name of the launch template for the ECS container instances."
value = aws_launch_template.cluster.name
}
output "launch_template_id" {
description = "The id of the launch template for the ECS container instances."
value = aws_launch_template.cluster.id
}
output "security_group_id" {
description = "The ID of the default security group associated with the ECS container instances."
value = aws_security_group.cluster.id
}
output "instance_role_arn" {
description = "The ARN of the container instance role."
value = aws_iam_role.cluster_instance_role.arn
}
output "instance_role_id" {
description = "The ID of the container instance role."
value = aws_iam_role.cluster_instance_role.unique_id
}
output "instance_policy_arn" {
description = "The ARN of the container instance policy."
value = aws_iam_policy.cluster_instance_policy.arn
}
output "instance_policy_id" {
description = "The ID of the container instance policy."
value = aws_iam_policy.cluster_instance_policy.id
}
output "service_role_arn" {
description = "The ARN of the ECS service role."
value = aws_iam_role.cluster_service_role.arn
}
output "service_role_id" {
description = "The ID of the ECS service role."
value = aws_iam_role.cluster_service_role.unique_id
}
output "service_policy_arn" {
description = "The ARN of the ECS service policy."
value = aws_iam_policy.cluster_service_policy.arn
}
output "service_policy_id" {
description = "The ID of the ECS service policy."
value = aws_iam_policy.cluster_service_policy.id
}
output "log_group" {
description = "The name of the default log group for the cluster."
value = aws_cloudwatch_log_group.cluster.name
}
output "asg_capacity_provider_name" {
description = "The name of the ASG capacity provider associated with the cluster."
value = var.include_asg_capacity_provider ? aws_ecs_capacity_provider.autoscaling_group[0].name : ""
}