Global InfraGlobal Infra Cloud
DbaaS Postgres

Database Hba Conf

Terraform reference for Database Hba Conf.

Schema Properties

PropertyTypeDescription
content
RequiredDefault
stringFull user-managed pg_hba block. Each non-blank, non-comment line must be a valid pg_hba entry (host/hostssl only; the database column must equal the parent database name). Lines are applied in the given order. include/include_if_exists/include_dir directives are rejected.
database_id
Required
stringAsset ID of the parent database (platform/region/architecture/dbName). The database is the sole identity of the conf.
Examples:sb/eu/2/axis_mydb
resource "gi_dbaas_pg_database_hba_conf" "example" {  attributes = {    content     = "example-content"    database_id = "example-database_id"  }}

Usage Notes