-
Notifications
You must be signed in to change notification settings - Fork 3
/
outputs.tf
29 lines (24 loc) · 662 Bytes
/
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
output "instance_id" {
description = "Instance ID"
value = aws_instance.this.id
}
output "lb_arn" {
description = "ARN of the ELB"
value = try(aws_lb.this[0].arn, null)
}
output "lb_dns_name" {
description = "DNS Name of the ELB"
value = try(aws_lb.this[0].dns_name, null)
}
output "lb_listener_arn" {
description = "ARN of the ELB Listener"
value = try(aws_lb_listener.this[0].arn, null)
}
output "lb_zone_id" {
description = "Route53 Zone ID of the ELB"
value = try(aws_lb.this[0].zone_id, null)
}
output "role_arn" {
description = "IAM Role ARN of the instance"
value = aws_iam_role.this.arn
}