Recipe
postgres-flexible-server
PostgreSQL on Azure Database for PostgreSQL flexible server, one server with private access in a delegated subnet of the operator's virtual network, realized by Microsoft's Azure Verified Modules module Azure/avm-res-dbforpostgresql-flexibleserver/azurerm at v0.2.3, MIT, fetched from its git repository at that tag; entity.lock pins the tag's commit and archive digest. Reach for it where the database is a flexible server in the operator's Azure subscription; reach for the RDS Recipes on AWS, terraform/postgres-cloud-sql on Google Cloud, and the helm or compose Recipes for a container. It needs hashicorp/azurerm 4 and terraform/azure-api-management azurerm 5, so the two go in different terraform boundaries. The resource group, region, delegated subnet and private DNS zone are the operator's, named in infra.overrides, and none is emitted: other servers share the subnet and the zone. The module deploys a telemetry resource by default, reporting the subscription, region and module to Microsoft; infra.overrides.enable_telemetry: false turns it off. The administrator values.user names takes the core/random-password attachment on the password slot as a Terraform reference, so the rendered files carry no password; with nothing attached, or another credential, the build halts naming the slot. host publishes a reference to the server's FQDN, or infra.overrides.host; port is 5432. Init scripts, a configuration file, replicas, another port, a disk type and a storage size the service does not offer halt naming the key; compute is not read, because infra.overrides.sku_name sizes the server. Point-in-time recovery is always on, so infra.point_in_time_recovery: false halts by name.
Provenienza
- Digest del contenuto
- sha256:f86896c9e857ad70afb7c335d8753edee8d5f6eecb9cb44a9d17b27532f49c66
- Pubblicato
- 2026-11-10T10:28:38Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/vnd.dev.sigstore.bundle.v0.3+json
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
sha256:7e43128835358ab94e7ce2884824df3e353d9e55163b6b6ac84759a7ef54d56a
Riferimento a questa versione
oci://hub.aggrega.ai/recipe/terraform/postgres-flexible-server:1.0.0- Destinazione
- —
- Implementa
- core/datastore/postgres:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
| Nome | Modello |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.fqdn}{{ end }} |
| port | 5432 |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
Nessun modello di workload dichiarato.
Variabili locali
| Nome | Modello |
|---|---|
| major | {{ regexFind `^[0-9]+` (toString .infra.engine_version) }} |
| sku | {{ optional (optional .infra "overrides" dict) "sku_name" "GP_Standard_D2ds_v5" }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| native_backup | Azure Database for PostgreSQL flexible server automated backups |
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementacontratto compatibile
core/datastore/postgres:1.0.0
Tutti gli output obbligatori sono soddisfatti e ogni output fornito è nominato nel contratto.
Usato da
Nulla nel catalogo dipende da questa entità.