terraform-contour-mirror/modules/yc-postgresql/outputs.tf
kochetkov.s cd68e73e40 feat: Add Terraform infrastructure for pulse project
- Add modules: yc-s3, yc-postgresql, k8s-namespace, k8s-secrets
- Add live configuration for stage environment
- Add GitLab CI with downstream pipelines
- Implement best practices from theory.md
2026-01-19 15:15:14 +03:00

36 lines
848 B
HCL

output "cluster_id" {
description = "ID of the PostgreSQL cluster"
value = yandex_mdb_postgresql_cluster.pulse.id
}
output "cluster_fqdn" {
description = "FQDN of the PostgreSQL cluster"
value = yandex_mdb_postgresql_cluster.pulse.host[0].fqdn
}
output "host" {
description = "Host address of the PostgreSQL cluster"
value = yandex_mdb_postgresql_cluster.pulse.host[0].fqdn
}
output "database_name" {
description = "Name of the database"
value = var.database_name
}
output "database_user" {
description = "Name of the database user"
value = var.database_user
}
output "password" {
description = "Password for the database user"
value = random_password.pg_password.result
sensitive = true
}
output "port" {
description = "Port of the PostgreSQL cluster"
value = 6432
}