Fix incorrect output values

This commit is contained in:
Andrés Rodríguez 2021-02-26 15:42:13 -03:00
parent 646b0428d4
commit 3345da63ea

View file

@ -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