Recipe
postgres-rds
PostgreSQL via AWS RDS, rendered as an authored Terraform body, main.tf. The managed-service realization: the operator's ha sizing maps onto the instance's native multi-AZ and read-replica settings, 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 Terraform reference to the instance's hostname, an output of this component's module, and port publishes the port infra.port configures. The reference resolves only for a consumer authored as a source: Recipe in the same Terraform root configuration; a consumer on another target receives it as text. It names this component's module, so it resolves only where the Aggregate the Release deploys declares this component, not where it is composed in from another Aggregate. 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, which a consumer on any target can use. Pointing that name at the instance is the operator's. Reach for this realization where nothing may be fetched or where the instance needs read replicas; reach for terraform/postgres-rds-terraform-aws-modules, the terraform-aws-modules project's published RDS module, where the pull may fetch it. A value RDS cannot apply — an encoding, a locale, init scripts, a raw configuration file — halts the build naming the key; compute.cpu and compute.memory are not read. Point-in-time recovery comes with the automated backups, so infra.point_in_time_recovery: false on core/backup halts by name.
출처
- 콘텐츠 다이제스트
- sha256:4c0487ecc472528725c8447bc4a8c958d3e00a6252677645129ea1e41c289d62
- 게시일
- 2026-11-10T10:28:41Z
- 서명 ID
- 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:dde9beed7d19e98fd6421c0538bf294917d79a6d6d10fa08c044f059da69249f
이 버전의 참조
oci://hub.aggrega.ai/recipe/terraform/postgres-rds:1.0.0- 대상
- —
- 구현 대상
- core/datastore/postgres:1.0.0
제공
이 레시피가 소비자를 위해 배선하는 결정적 포인터 템플릿입니다.
| 이름 | 템플릿 |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.address}{{ end }} |
| port | {{ .infra.port }} |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
선언된 워크로드 템플릿이 없습니다.
로컬 변수
| 이름 | 템플릿 |
|---|---|
| db_identifier | {{ .context.instance_id }} |
| native_backup | Amazon RDS automated backups |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
값 매핑
선언된 값 매핑이 없습니다.
관계
게시된 다른 엔터티와 주고받는 타입 지정 에지입니다. 게시된 대상이 없는 참조는 링크가 아닌 끊어진 에지로 표시됩니다.
사용함
- 구현구현계약 호환
core/datastore/postgres:1.0.0
모든 필수 출력이 충족되며, 제공되는 모든 출력이 계약에 명시되어 있습니다.
사용됨
카탈로그에서 이 엔터티에 의존하는 것이 없습니다.