|
1 |
| -output "lb_id" { |
2 |
| - description = "The ID and ARN of the load balancer we created." |
3 |
| - value = module.alb.lb_id |
4 |
| -} |
| 1 | +################################################################################ |
| 2 | +# Load Balancer |
| 3 | +################################################################################ |
5 | 4 |
|
6 |
| -output "lb_arn" { |
7 |
| - description = "The ID and ARN of the load balancer we created." |
8 |
| - value = module.alb.lb_arn |
| 5 | +output "id" { |
| 6 | + description = "The ID and ARN of the load balancer we created" |
| 7 | + value = module.alb.id |
9 | 8 | }
|
10 | 9 |
|
11 |
| -output "lb_dns_name" { |
12 |
| - description = "The DNS name of the load balancer." |
13 |
| - value = module.alb.lb_dns_name |
| 10 | +output "arn" { |
| 11 | + description = "The ID and ARN of the load balancer we created" |
| 12 | + value = module.alb.arn |
14 | 13 | }
|
15 | 14 |
|
16 |
| -output "lb_arn_suffix" { |
17 |
| - description = "ARN suffix of our load balancer - can be used with CloudWatch." |
18 |
| - value = module.alb.lb_arn_suffix |
| 15 | +output "arn_suffix" { |
| 16 | + description = "ARN suffix of our load balancer - can be used with CloudWatch" |
| 17 | + value = module.alb.arn_suffix |
19 | 18 | }
|
20 | 19 |
|
21 |
| -output "lb_zone_id" { |
22 |
| - description = "The zone_id of the load balancer to assist with creating DNS records." |
23 |
| - value = module.alb.lb_zone_id |
| 20 | +output "dns_name" { |
| 21 | + description = "The DNS name of the load balancer" |
| 22 | + value = module.alb.dns_name |
24 | 23 | }
|
25 | 24 |
|
26 |
| -output "http_tcp_listener_arns" { |
27 |
| - description = "The ARN of the TCP and HTTP load balancer listeners created." |
28 |
| - value = module.alb.http_tcp_listener_arns |
| 25 | +output "zone_id" { |
| 26 | + description = "The zone_id of the load balancer to assist with creating DNS records" |
| 27 | + value = module.alb.zone_id |
29 | 28 | }
|
30 | 29 |
|
31 |
| -output "http_tcp_listener_ids" { |
32 |
| - description = "The IDs of the TCP and HTTP load balancer listeners created." |
33 |
| - value = module.alb.http_tcp_listener_ids |
34 |
| -} |
| 30 | +################################################################################ |
| 31 | +# Listener(s) |
| 32 | +################################################################################ |
35 | 33 |
|
36 |
| -output "https_listener_arns" { |
37 |
| - description = "The ARNs of the HTTPS load balancer listeners created." |
38 |
| - value = module.alb.https_listener_arns |
| 34 | +output "listeners" { |
| 35 | + description = "Map of listeners created and their attributes" |
| 36 | + value = module.alb.listeners |
| 37 | + sensitive = true |
39 | 38 | }
|
40 | 39 |
|
41 |
| -output "https_listener_ids" { |
42 |
| - description = "The IDs of the load balancer listeners created." |
43 |
| - value = module.alb.https_listener_ids |
| 40 | +output "listener_rules" { |
| 41 | + description = "Map of listeners rules created and their attributes" |
| 42 | + value = module.alb.listener_rules |
| 43 | + sensitive = true |
44 | 44 | }
|
45 | 45 |
|
46 |
| -output "target_group_arns" { |
47 |
| - description = "ARNs of the target groups. Useful for passing to your Auto Scaling group." |
48 |
| - value = module.alb.target_group_arns |
| 46 | +################################################################################ |
| 47 | +# Target Group(s) |
| 48 | +################################################################################ |
| 49 | + |
| 50 | +output "target_groups" { |
| 51 | + description = "Map of target groups created and their attributes" |
| 52 | + value = module.alb.target_groups |
49 | 53 | }
|
50 | 54 |
|
51 |
| -output "target_group_arn_suffixes" { |
52 |
| - description = "ARN suffixes of our target groups - can be used with CloudWatch." |
53 |
| - value = module.alb.target_group_arn_suffixes |
| 55 | +################################################################################ |
| 56 | +# Security Group |
| 57 | +################################################################################ |
| 58 | + |
| 59 | +output "security_group_arn" { |
| 60 | + description = "Amazon Resource Name (ARN) of the security group" |
| 61 | + value = module.alb.security_group_arn |
54 | 62 | }
|
55 | 63 |
|
56 |
| -output "target_group_names" { |
57 |
| - description = "Name of the target group. Useful for passing to your CodeDeploy Deployment Group." |
58 |
| - value = module.alb.target_group_names |
| 64 | +output "security_group_id" { |
| 65 | + description = "ID of the security group" |
| 66 | + value = module.alb.security_group_id |
59 | 67 | }
|
60 | 68 |
|
61 |
| -output "target_group_attachments" { |
62 |
| - description = "ARNs of the target group attachment IDs." |
63 |
| - value = module.alb.target_group_attachments |
| 69 | +################################################################################ |
| 70 | +# Route53 Record(s) |
| 71 | +################################################################################ |
| 72 | + |
| 73 | +output "route53_records" { |
| 74 | + description = "The Route53 records created and attached to the load balancer" |
| 75 | + value = module.alb.route53_records |
64 | 76 | }
|
0 commit comments