# Postgres Instance Output output "postgres_instance_id" { value = stackit_postgresflex_instance.this.instance_id } # Postgres Credential Output output "postgres_credentials" { value = { for k, u in stackit_postgresflex_user.this : k => { host = u.host username = u.username password = u.password port = u.port db_name = stackit_postgresflex_database.this[u.username].name uri = u.uri } } sensitive = true }