-
Notifications
You must be signed in to change notification settings - Fork 0
/
_outputs.tf
103 lines (78 loc) · 1.87 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
output "alb_id" {
value = aws_lb.ecs.*.id
}
output "alb_arn" {
value = aws_lb.ecs.*.arn
}
output "alb_dns_name" {
value = aws_lb.ecs.*.dns_name
}
output "alb_zone_id" {
value = aws_lb.ecs.*.zone_id
}
output "alb_internal_id" {
value = aws_lb.ecs_internal.*.id
}
output "alb_internal_arn" {
value = aws_lb.ecs_internal.*.arn
}
output "alb_internal_dns_name" {
value = aws_lb.ecs_internal.*.dns_name
}
output "alb_internal_zone_id" {
value = aws_lb.ecs_internal.*.zone_id
}
output "ecs_iam_role_arn" {
value = try(aws_iam_role.ecs[0].arn, "")
}
output "ecs_iam_role_name" {
value = try(aws_iam_role.ecs[0].name, "")
}
output "ecs_service_iam_role_arn" {
value = aws_iam_role.ecs_service.arn
}
output "ecs_codedeploy_iam_role_arn" {
value = aws_iam_role.codedeploy_service.arn
}
output "ecs_service_iam_role_name" {
value = aws_iam_role.ecs_service.name
}
output "ecs_task_iam_role_arn" {
value = aws_iam_role.ecs_task.arn
}
output "ecs_task_iam_role_name" {
value = aws_iam_role.ecs_task.name
}
output "ecs_id" {
value = data.aws_ecs_cluster.ecs.id
}
output "ecs_arn" {
value = data.aws_ecs_cluster.ecs.arn
}
output "ecs_name" {
value = data.aws_ecs_cluster.ecs.cluster_name
}
output "alb_listener_https_arn" {
value = aws_lb_listener.ecs_https.*.arn
}
output "alb_listener_test_traffic_arn" {
value = aws_lb_listener.ecs_test_https.*.arn
}
output "alb_internal_listener_https_arn" {
value = aws_lb_listener.ecs_https_internal.*.arn
}
output "alb_internal_listener_test_traffic_arn" {
value = aws_lb_listener.ecs_test_https_internal.*.arn
}
output "ecs_nodes_secgrp_id" {
value = aws_security_group.ecs_nodes.id
}
output "alb_secgrp_id" {
value = aws_security_group.alb.*.id
}
output "efs_fs_id" {
value = try(aws_efs_file_system.ecs[0].id, "")
}
output "private_key_pem" {
value = try(tls_private_key.algorithm[0].private_key_pem, "")
}