41 lines
853 B
HCL
41 lines
853 B
HCL
# Postgres Instance Output
|
|
output "postgres_instance_id" {
|
|
value = stackit_postgresflex_instance.this.instance_id
|
|
}
|
|
|
|
# Postgres Database Output
|
|
output "postgres_database_id" {
|
|
value = stackit_postgresflex_database.this.database_id
|
|
}
|
|
|
|
# Postgres User Output
|
|
output "postgres_host" {
|
|
value = stackit_postgresflex_user.this.host
|
|
}
|
|
|
|
output "postgres_password" {
|
|
value = stackit_postgresflex_user.this.password
|
|
sensitive = true
|
|
}
|
|
|
|
output "postgres_user" {
|
|
value = stackit_postgresflex_user.this.username
|
|
}
|
|
|
|
output "postgres_port" {
|
|
value = stackit_postgresflex_user.this.port
|
|
}
|
|
|
|
output "postgres_db_name" {
|
|
value = stackit_postgresflex_database.this.name
|
|
}
|
|
|
|
output "postgres_uri" {
|
|
value = stackit_postgresflex_user.this.uri
|
|
sensitive = true
|
|
}
|
|
|
|
output "postgres_user_id" {
|
|
value = stackit_postgresflex_user.this.user_id
|
|
}
|
|
|