From ee3d5b1eb60cf3f3f40f0fe00f094e76f9bdf146 Mon Sep 17 00:00:00 2001 From: theprashantyadav Date: Fri, 21 Jul 2023 19:41:42 +0530 Subject: [PATCH] feat: added new output target group --- _example/alb/example.tf | 2 +- _example/alb/outputs.tf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_example/alb/example.tf b/_example/alb/example.tf index 6189de7..46165ec 100644 --- a/_example/alb/example.tf +++ b/_example/alb/example.tf @@ -79,7 +79,7 @@ module "iam-role" { version = "1.3.0" name = "iam-role" - environment = "test" + environment = "test-test" label_order = ["name", "environment"] assume_role_policy = data.aws_iam_policy_document.default.json diff --git a/_example/alb/outputs.tf b/_example/alb/outputs.tf index 771ac3b..5ed6675 100644 --- a/_example/alb/outputs.tf +++ b/_example/alb/outputs.tf @@ -6,4 +6,9 @@ output "arn" { output "tags" { value = module.alb.tags description = "A mapping of tags to assign to the alb." +} + +output "main_target_group_arn" { + value = module.alb.*.main_target_group_arn + description = "The ARN target of the ALB" } \ No newline at end of file