From 94db31820297714cd951fe3235cfd9034a04e43a Mon Sep 17 00:00:00 2001 From: Allan Denot Date: Wed, 23 Oct 2024 13:15:55 +1000 Subject: [PATCH] Adding internal alb sg output (#62) * Adding internal alb sg output * terraform-docs: automated update action --------- Co-authored-by: adenot --- README.md | 1 + _outputs.tf | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index f59ce90..c5e3f5c 100644 --- a/README.md +++ b/README.md @@ -145,6 +145,7 @@ module "ecs_apps" { | alb\_internal\_id | n/a | | alb\_internal\_listener\_https\_arn | n/a | | alb\_internal\_listener\_test\_traffic\_arn | n/a | +| alb\_internal\_secgrp\_id | n/a | | alb\_internal\_zone\_id | n/a | | alb\_listener\_https\_arn | n/a | | alb\_listener\_test\_traffic\_arn | n/a | diff --git a/_outputs.tf b/_outputs.tf index 5a04c82..a31a832 100644 --- a/_outputs.tf +++ b/_outputs.tf @@ -94,6 +94,10 @@ output "alb_secgrp_id" { value = aws_security_group.alb.*.id } +output "alb_internal_secgrp_id" { + value = try(aws_security_group.alb_internal[0].id, "") +} + output "efs_fs_id" { value = try(aws_efs_file_system.ecs[0].id, "") }