mirror of
https://gitlab.sarex.io/infra/terraform-contour-mirror.git
synced 2026-08-05 18:31:00 +03:00
- 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
36 lines
848 B
HCL
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
|
|
}
|