Skip to content

Commit e8f3b08

Browse files
authored
fix: incorrect output values for default_target_group name and arn (#3)
1 parent 646b042 commit e8f3b08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

outputs.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@ output "proxy_default_target_group_id" {
2222

2323
output "proxy_default_target_group_arn" {
2424
description = "The Amazon Resource Name (ARN) for the default target group"
25-
value = element(concat(aws_db_proxy_default_target_group.this.*.id, [""]), 0)
25+
value = element(concat(aws_db_proxy_default_target_group.this.*.arn, [""]), 0)
2626
}
2727

2828
output "proxy_default_target_group_name" {
2929
description = "The name of the default target group"
30-
value = element(concat(aws_db_proxy_default_target_group.this.*.id, [""]), 0)
30+
value = element(concat(aws_db_proxy_default_target_group.this.*.name, [""]), 0)
3131
}
3232

3333
# Proxy Target

0 commit comments

Comments
 (0)