tfmodules/dbaas/ovh/outputs.tf
gitops_test 3668b94644 sync-modules: mirrored modules of release 3.2.0-F-feature-simpl-31669.676.1150352e
+++ dbaas/README.md
+++ dbaas/ovh/credentials.tf
+++ dbaas/ovh/main.tf
+++ dbaas/ovh/outputs.tf
+++ dbaas/ovh/variables.tf
+++ dbaas/ovh/versions.tf
2026-09-23 13:16:31 +00:00

35 lines
966 B
HCL

output "database_endpoint" {
description = "Service endpoint (hostname) of the PostgreSQL instance"
value = local.database_host
}
output "database_port" {
description = "Port of the PostgreSQL instance"
value = local.database_port
}
output "database_name" {
description = "Name of the initial database"
value = ovh_cloud_project_database_database.this.name
}
output "database_username" {
description = "Database user name"
value = ovh_cloud_project_database_postgresql_user.this.name
}
output "database_cluster_id" {
description = "Id of the managed database cluster"
value = ovh_cloud_project_database.this.id
}
output "database_user_id" {
description = "Id of the database user"
value = ovh_cloud_project_database_postgresql_user.this.id
}
output "credentials_ref" {
description = "Vault path of the consumer credentials entry"
value = "secret/data/${vault_kv_secret_v2.consumer.name}"
}