diff --git a/postgres/outputs.tf b/postgres/outputs.tf index 7e8f64f..aa7b509 100644 --- a/postgres/outputs.tf +++ b/postgres/outputs.tf @@ -47,7 +47,7 @@ output "postgres_credentials" { username = u.username password = u.password port = u.port - db_name = stackit_postgresflex_database.this[u.owner].name + db_name = stackit_postgresflex_database.this[u.username].name uri = u.uri } }