From ecc857e02a55645efb4caa70fa2a14fa62599be3 Mon Sep 17 00:00:00 2001 From: Lucas Date: Mon, 17 Feb 2020 09:03:12 +0100 Subject: [PATCH] add arn suffix to use with cloudwatch metrics --- terraform/output.tf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/terraform/output.tf b/terraform/output.tf index a12c046..b473f27 100644 --- a/terraform/output.tf +++ b/terraform/output.tf @@ -10,6 +10,10 @@ output "lb-arn" { value = aws_lb.lb.arn } +output "lb-arn-suffix" { + value = aws_lb.lb.arn_suffix +} + output "roxprox-envoy-sg" { value = var.loadbalancer == "alb" ? aws_security_group.roxprox-envoy-alb[0].id : aws_security_group.roxprox-envoy-nlb[0].id }