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, deployed from an Azure Resource Manager template through Microsoft's Azure Verified Modules module avm/res/db-for-postgre-sql/flexible-server at 0.16.2, MIT, fetched from its git repository at that tag; entity.lock pins the tag's commit and archive digest. Reach for it where the Release deploys an Azure Resource Manager template and the database is a flexible server in the operator's subscription; reach for terraform/postgres-flexible-server where the Release deploys Terraform. The 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 to Microsoft; this Recipe turns it off. The administrator values.user names takes the password from the Key Vault secret a core/referenced-secret attachment on the password slot names, bound to arm/key-vault-secret, handed to the server as a Key Vault reference, so the template carries no password; with nothing attached, or another credential, the build halts naming the slot. host publishes an expression for the server's FQDN, or infra.overrides.host; port is 5432. Init scripts, a configuration file, replicas, another port 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.
Provenance
- Content digest
- sha256:4e4387d05417bf34c3d3dae5bb6d16eacf853b84be8b245c53a60e0a2c2533ae
- Published
- 2026-11-19T08:03:53Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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:31293a55a1f0aa35f039689c32bb5d988d02aef973a9ebc02ae03241910ac074
Reference at this version
oci://hub.aggrega.ai/recipe/arm/postgres-flexible-server:1.0.0- Target
- —
- Implements
- core/datastore/postgres:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}[reference('{{ capitalizedWords .context.instance_id }}').outputs.fqdn.value]{{ end }} |
| port | 5432 |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
No workload template declared.
Locals
| Name | Template |
|---|---|
| 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 }} |
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/datastore/postgres:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.