Skip to content

Commit

Permalink
fix: Replace deprecated name property in outputs (#426)
Browse files Browse the repository at this point in the history
Replace deprecated property in outputs

`name` is deprecated in favor of `db_name`
  • Loading branch information
kenske committed Aug 11, 2022
1 parent c782027 commit c6e87d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/db_instance/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ output "db_instance_status" {

output "db_instance_name" {
description = "The database name"
value = try(aws_db_instance.this[0].name, "")
value = try(aws_db_instance.this[0].db_name, "")
}

output "db_instance_username" {
Expand Down

0 comments on commit c6e87d1

Please sign in to comment.