Recipe
postgres-alloydb
PostgreSQL on AlloyDB for PostgreSQL, as one cluster with a primary instance reached at a private address in the operator's VPC network, realized by Google's published AlloyDB module, GoogleCloudPlatform/alloy-db/google at v9.0.1, Apache-2.0, 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 an AlloyDB cluster in the operator's Google Cloud project, reached over a VPC network with private services access; reach for terraform/postgres-cloud-sql for a Cloud SQL instance. The project, region and network are the operator's, named in infra.overrides.project_id, region and private_network, and the Recipe emits none of them. The cluster holds the one database AlloyDB creates, postgres, so values.database names it and any other halts. The user values.user names logs in with the password core/random-password draws on the password slot, handed over as a Terraform reference; the slot left empty, or any other credential, halts naming it. host publishes a reference to the primary instance's private address, or the DNS name in infra.overrides.host; port is 5432. An attached core/backup sets the cluster's automated backups and its point-in-time recovery window. An encoding, a locale, init scripts, a raw configuration file, a storage type and another infra.port halt naming the key; compute.cpu, compute.memory and storage.size are not read.
Происхождение
- Дайджест содержимого
- sha256:9b31ee09d987bc67df4328fc37255780d212564b93bef9c30a3a337ab7484c41
- Опубликовано
- 2026-11-23T02:46:54Z
- Идентичность подписи
- 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:540f790c59812396318e611bea1a0740b0d13f06e6d8ca12e3200feb2900d9f3
Ссылка на эту версию
oci://hub.aggrega.ai/recipe/terraform/postgres-alloydb:1.0.0- Цель
- —
- Реализует
- core/datastore/postgres:1.0.0
Предоставляет
Детерминированные шаблоны указателей, которые этот рецепт связывает для потребителей.
| Имя | Шаблон |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.primary_instance_ip}{{ end }} |
| port | 5432 |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
Шаблон рабочей нагрузки не объявлен.
Локальные значения
| Имя | Шаблон |
|---|---|
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| machine_cpu_count | {{ optional (optional .infra "overrides" dict) "machine_cpu_count" 2 }} |
| native_backup | AlloyDB automated backups and continuous backup and recovery |
Сопоставление values
Сопоставление values не объявлено.
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
- реализуетреализуетконтракт совместим
core/datastore/postgres:1.0.0
Все обязательные выходные значения обеспечены, и каждое предоставляемое выходное значение названо в контракте.
Используется в
Ничто в каталоге не зависит от этой сущности.