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.
Procedencia
- Digest del contenido
- sha256:f86896c9e857ad70afb7c335d8753edee8d5f6eecb9cb44a9d17b27532f49c66
- Publicado
- 2026-11-10T10:28:38Z
- Identidad de firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Oficialapplication/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
Referencia en esta versión
oci://hub.aggrega.ai/recipe/terraform/postgres-flexible-server:1.0.0- Destino
- —
- Implementa
- core/datastore/postgres:1.0.0
Proporciona
Plantillas de punteros deterministas que esta receta cablea para los consumidores.
| Nombre | Plantilla |
|---|---|
| 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
No se declaró ninguna plantilla de carga de trabajo.
Variables locales
| Nombre | Plantilla |
|---|---|
| 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 |
Mapeo de valores
No se declaró ningún mapeo de valores.
Relaciones
Aristas tipadas hacia y desde otras entidades publicadas. Una referencia sin un destino publicado se muestra como una arista rota en lugar de como un enlace.
Usa
- implementaimplementacontrato compatible
core/datastore/postgres:1.0.0
Todas las salidas obligatorias se satisfacen y cada salida proporcionada está nombrada en el contrato.
Usado por
Nada en el catálogo depende de esta entidad.