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.
Походження
- Дайджест вмісту
- sha256:f86896c9e857ad70afb7c335d8753edee8d5f6eecb9cb44a9d17b27532f49c66
- Опубліковано
- 2026-11-10T10:28:38Z
- Ідентичність підписувача
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Підпис
- Офіційнийapplication/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
Посилання на цю версію
oci://hub.aggrega.ai/recipe/terraform/postgres-flexible-server:1.0.0- Ціль
- —
- Реалізує
- core/datastore/postgres:1.0.0
Надає
Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.
| Назва | Шаблон |
|---|---|
| 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
Шаблон робочого навантаження не оголошено.
Локальні значення
| Назва | Шаблон |
|---|---|
| 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 |
Відображення значень
Відображення значень не оголошено.
Зв’язки
Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.
Використовує
- реалізуєреалізуєконтракт сумісний
core/datastore/postgres:1.0.0
Усі обов’язкові виходи задоволено, і кожен наданий вихід названо в контракті.
Використовується в
Ніщо в каталозі не залежить від цієї сутності.