Skip to content

Commit

Permalink
Merge pull request #292 from ministryofjustice/feature/add_more_outputs
Browse files Browse the repository at this point in the history
added dns name and zone id outputs
  • Loading branch information
richgreen-moj authored Nov 15, 2023
2 parents 0c6fd16 + 0953cd8 commit 3150e0b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,5 +219,7 @@ If you're looking to raise an issue with this module, please create a new issue
| <a name="output_lb_target_groups"></a> [lb\_target\_groups](#output\_lb\_target\_groups) | n/a |
| <a name="output_load_balancer"></a> [load\_balancer](#output\_load\_balancer) | n/a |
| <a name="output_load_balancer_arn"></a> [load\_balancer\_arn](#output\_load\_balancer\_arn) | n/a |
| <a name="output_load_balancer_dns_name"></a> [load\_balancer\_dns\_name](#output\_load\_balancer\_dns\_name) | n/a |
| <a name="output_load_balancer_zone_id"></a> [load\_balancer\_zone\_id](#output\_load\_balancer\_zone\_id) | n/a |
| <a name="output_security_group"></a> [security\_group](#output\_security\_group) | n/a |
<!-- END_TF_DOCS -->
9 changes: 9 additions & 0 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,12 @@ output "load_balancer_arn" {
output "lb_target_groups" {
value = aws_lb_target_group.this
}

output "load_balancer_dns_name" {
value = aws_lb.loadbalancer.dns_name
}

output "load_balancer_zone_id" {
value = aws_lb.loadbalancer.zone_id

}

0 comments on commit 3150e0b

Please sign in to comment.