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.
Proveniência
- Digest do conteúdo
- sha256:f86896c9e857ad70afb7c335d8753edee8d5f6eecb9cb44a9d17b27532f49c66
- Publicado
- 2026-11-10T10:28:38Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- 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
Referência nesta versão
oci://hub.aggrega.ai/recipe/terraform/postgres-flexible-server:1.0.0- Destino
- —
- Implementa
- core/datastore/postgres:1.0.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
| Nome | Modelo |
|---|---|
| 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
Nenhum modelo de carga de trabalho declarado.
Variáveis locais
| Nome | Modelo |
|---|---|
| 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 |
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementacontrato compatível
core/datastore/postgres:1.0.0
Todas as saídas obrigatórias são satisfeitas e cada saída fornecida é nomeada no contrato.
Usado por
Nada no catálogo depende desta entidade.