From e8f3b082a20eff9266a7eb89303dffa1a183e2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Rodr=C3=ADguez?= Date: Sat, 27 Feb 2021 13:39:40 -0300 Subject: [PATCH] fix: incorrect output values for default_target_group name and arn (#3) --- outputs.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/outputs.tf b/outputs.tf index fa40f73..3b19d3e 100644 --- a/outputs.tf +++ b/outputs.tf @@ -22,12 +22,12 @@ output "proxy_default_target_group_id" { output "proxy_default_target_group_arn" { description = "The Amazon Resource Name (ARN) for the default target group" - value = element(concat(aws_db_proxy_default_target_group.this.*.id, [""]), 0) + value = element(concat(aws_db_proxy_default_target_group.this.*.arn, [""]), 0) } output "proxy_default_target_group_name" { description = "The name of the default target group" - value = element(concat(aws_db_proxy_default_target_group.this.*.id, [""]), 0) + value = element(concat(aws_db_proxy_default_target_group.this.*.name, [""]), 0) } # Proxy Target