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.3.0, 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. The module admits hashicorp/azurerm 4 alone, so this Recipe goes in a terraform boundary apart from the Azure Recipes that need azurerm 5, terraform/azure-api-management among them. 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's usage telemetry to Microsoft is off; infra.overrides.enable_telemetry: true turns it on. 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.

Version

1.0.01.1.0

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:de12b1df00661993eb95000f43cf93b06de6f7209bbf8f9376875486bc29bb10
Published
2026-11-23T02:47:03Z
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:5c6658c37b1d2c5b77a39ba9e563c3c71d4563fe830086d1a8b50f62013b2b1f

Reference at this version

oci://hub.aggrega.ai/recipe/terraform/postgres-flexible-server:1.1.0
Target
—
Implements
core/datastore/postgres:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

NameTemplate
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.fqdn}{{ end }}
port5432
user{{ .values.user }}
database{{ .values.database }}
protocolpostgres
metrics_pod_selector
metrics_pod_port
metrics_path

Workload

No workload template declared.

Locals

NameTemplate
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_backupAzure Database for PostgreSQL flexible server automated backups

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.

Recipe concept reference

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy