output "credentials" { value = one([for name, db in postgresql_database.this : { database = db.name username = postgresql_role.this[name].name password = random_password.this[name].result }]) description = "credentials of the service database, null if the service has no database" sensitive = true }