-
Notifications
You must be signed in to change notification settings - Fork 5
/
outputs.tf
45 lines (36 loc) · 1.05 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
output "dns_name" {
value = aws_lb.lb.dns_name
description = "Domain name of the load balancer"
}
output "zone_id" {
value = aws_lb.lb.zone_id
description = "ID of the load balancer domain zone"
}
output "lb_id" {
value = aws_lb.lb.id
description = "ID of the load balancer"
}
output "lb_sg_id" {
value = aws_security_group.lb_sg.id
description = "ID of the load balancer security group"
}
output "sg_id" {
value = aws_security_group.instance_sg.id
description = "ID of the instances security group"
}
output "asg_name" {
value = module.asg.this_autoscaling_group_name
description = "Name of the auto-scaling group"
}
output "asg_arn" {
value = module.asg.this_autoscaling_group_arn
description = "ARN of the auto-scaling group"
}
output "instance_profile_name" {
value = aws_iam_instance_profile.default.name
description = "Name of the IAM instance profile"
}
output "instance_role_name" {
value = aws_iam_role.instance.name
description = "Name of the IAM instance role"
}