Skip to content

Commit 07d4ece

Browse files
jeff-everettbrandonjbjelland
authored andcommitted
add output target group arn suffixes (#64)
1 parent 4507108 commit 07d4ece

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ output "target_group_arns" {
4343
value = "${slice(concat(aws_lb_target_group.main.*.arn, list("")), 0, var.target_groups_count)}"
4444
}
4545

46+
output "target_group_arn_suffixes" {
47+
description = "ARN suffixes of our target groups - can be used with CloudWatch."
48+
value = "${slice(concat(aws_lb_target_group.main.*.arn_suffix, list("")), 0, var.target_groups_count)}"
49+
}
50+
4651
output "target_group_names" {
4752
description = "Name of the target group. Useful for passing to your CodeDeploy Deployment Group."
4853
value = "${slice(concat(aws_lb_target_group.main.*.name, list("")), 0, var.target_groups_count)}"

0 commit comments

Comments
 (0)