fix: incorrect output values for default_target_group name and arn (#3)

This commit is contained in:
Andrés Rodríguez 2021-02-27 13:39:40 -03:00 committed by GitHub
parent 646b0428d4
commit e8f3b082a2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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