Recipe
postgres-rds
PostgreSQL via AWS RDS, rendered as a CloudFormation fragment. The artifact emits only the RDS DBInstance resource under a Resources block; the cloudformation provider stamps the stack envelope and projects this recipe's provides entries into the stack Outputs when it assembles the boundary's fragments into one stack template. The managed-service realization: the operator's ha sizing maps onto the instance's native MultiAZ setting, an attached core/backup onto its automated backups, and RDS owns the master password, in AWS Secrets Manager: a credential on the password slot other than core/generated-secret, or any on app_user_password, halts the build. host publishes a CloudFormation reference to the instance's address, which resolves inside the stack and through its export; port publishes the port infra.port configures, which a consumer on any target can use. Set infra.overrides.host in the Release to the DNS name or IP literal the instance is reached at, and host publishes that name instead. The Recipe emits nothing for it — no DNS record, no alias — so pointing the name at the instance is the operator's. A value RDS cannot apply — an encoding, a locale, init scripts, a raw configuration file, read replicas — halts the build naming the key; compute.cpu and compute.memory are not read, because the instance class sizes the instance. On terraform the same component is also realized by terraform/postgres-rds-terraform-aws-modules, the terraform-aws-modules project's published RDS module. Point-in-time recovery comes with the automated backups, so infra.point_in_time_recovery: false on core/backup halts by name.
Происхождение
- Дайджест содержимого
- sha256:7d47f650e4ad60b4c3e6cf2b4e2a6baebcd8928e702a82bd1fb36d0ea4bc55b5
- Опубликовано
- 2026-11-10T10:17:55Z
- Идентичность подписи
- 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:52a38ef16815b61c3c0cefd55523b9f699067df69319d390d04104c3941dd93c
Ссылка на эту версию
oci://hub.aggrega.ai/recipe/cloudformation/postgres-rds:1.0.0- Цель
- —
- Реализует
- core/datastore/postgres:1.0.0
Предоставляет
Детерминированные шаблоны указателей, которые этот рецепт связывает для потребителей.
| Имя | Шаблон |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!GetAtt {{ .locals.logical_id }}.Endpoint.Address{{ end }} |
| port | {{ .infra.port }} |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
Шаблон рабочей нагрузки не объявлен.
Локальные значения
| Имя | Шаблон |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| native_backup | Amazon RDS automated backups |
Сопоставление values
Сопоставление values не объявлено.
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
- реализуетреализуетконтракт совместим
core/datastore/postgres:1.0.0
Все обязательные выходные значения обеспечены, и каждое предоставляемое выходное значение названо в контракте.
Используется в
Ничто в каталоге не зависит от этой сущности.