Skip to content

Commit

Permalink
Merge pull request #78 from trussworks/target-group-arn
Browse files Browse the repository at this point in the history
export the target group arn
  • Loading branch information
carterjones authored Aug 25, 2021
2 parents 5c498ee + c2a3dc5 commit 479b0df
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ No modules.
| <a name="output_nlb_dns_name"></a> [nlb\_dns\_name](#output\_nlb\_dns\_name) | DNS name of the NLB. |
| <a name="output_nlb_ips"></a> [nlb\_ips](#output\_nlb\_ips) | List of IP addresses associated with the NLB. |
| <a name="output_nlb_listener_arn"></a> [nlb\_listener\_arn](#output\_nlb\_listener\_arn) | The ARN associated with the listener on the NLB. |
| <a name="output_nlb_target_group_arn"></a> [nlb\_target\_group\_arn](#output\_nlb\_target\_group\_arn) | ARN of the NLB target group. |
| <a name="output_nlb_target_group_id"></a> [nlb\_target\_group\_id](#output\_nlb\_target\_group\_id) | ID of the NLB target group. |
| <a name="output_nlb_zone_id"></a> [nlb\_zone\_id](#output\_nlb\_zone\_id) | The canonical hosted zone ID of the load balancer. |
<!-- END OF PRE-COMMIT-TERRAFORM DOCS HOOK -->
Expand Down
15 changes: 10 additions & 5 deletions outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@ output "nlb_ips" {
]
}

output "nlb_target_group_id" {
description = "ID of the NLB target group."
value = aws_lb_target_group.main.id
}

output "nlb_listener_arn" {
description = "The ARN associated with the listener on the NLB."
value = aws_lb_listener.main.arn
Expand All @@ -32,3 +27,13 @@ output "nlb_zone_id" {
description = "The canonical hosted zone ID of the load balancer."
value = aws_lb.main.zone_id
}

output "nlb_target_group_arn" {
description = "ARN of the NLB target group."
value = aws_lb_target_group.main.arn
}

output "nlb_target_group_id" {
description = "ID of the NLB target group."
value = aws_lb_target_group.main.id
}

0 comments on commit 479b0df

Please sign in to comment.