Skip to content

Commit c6e87d1

Browse files
authored
fix: Replace deprecated name property in outputs (#426)
Replace deprecated property in outputs `name` is deprecated in favor of `db_name`
1 parent c782027 commit c6e87d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/db_instance/outputs.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ output "db_instance_status" {
6060

6161
output "db_instance_name" {
6262
description = "The database name"
63-
value = try(aws_db_instance.this[0].name, "")
63+
value = try(aws_db_instance.this[0].db_name, "")
6464
}
6565

6666
output "db_instance_username" {

0 commit comments

Comments
 (0)