Recipe
postgres-rds-terraform-aws-modules
PostgreSQL via AWS RDS, realized by the published RDS module of the terraform-aws-modules project, terraform-aws-modules/rds/aws at v7.2.2, Apache-2.0. The module is fetched from its git repository at that tag and vendored into the component's own directory; the pin is the git commit the tag names and the digest of its archive, recorded in the entity.lock beside this Recipe. 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. Reach for this realization where the pull may fetch the module from its git repository; reach for terraform/postgres-rds, which authors its own body and fetches nothing, where nothing may be fetched or where the instance needs read replicas, which one call of this module does not provision. host publishes a Terraform reference to the module's db_instance_address output, which resolves for a consumer authored as a source: Recipe in the same root configuration, and port the configured infra.port. Set infra.overrides.host to publish the DNS name the operator points at the instance instead. infra.overrides.subnet_group is required. 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. Point-in-time recovery comes with the automated backups, so infra.point_in_time_recovery: false on core/backup halts by name.
Provenienza
- Digest del contenuto
- sha256:d937b1d6088e2689d07de41be109d77b60c8e9ef8122de7fba610d0cb9bae868
- Pubblicato
- 2026-11-10T10:28:41Z
- Identità di firma
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Firma
- Ufficialeapplication/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:cb10cc09648451007f06d00ba14462ffed0482189b1b8910cc17ed346cd2910b
Riferimento a questa versione
oci://hub.aggrega.ai/recipe/terraform/postgres-rds-terraform-aws-modules:1.0.0- Destinazione
- —
- Implementa
- core/datastore/postgres:1.0.0
Fornisce
Modelli di puntatori deterministici che questa ricetta collega per i consumatori.
| Nome | Modello |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.db_instance_address}{{ end }} |
| port | {{ .infra.port }} |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | postgres |
| metrics_pod_selector | |
| metrics_pod_port | |
| metrics_path |
Workload
Nessun modello di workload dichiarato.
Variabili locali
| Nome | Modello |
|---|---|
| family | {{ $p := splitList "." (toString .infra.engine_version) }}postgres{{ index $p 0 }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| native_backup | Amazon RDS automated backups |
Mappatura dei valori
Nessuna mappatura dei valori dichiarata.
Relazioni
Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.
Usa
- implementaimplementacontratto compatibile
core/datastore/postgres:1.0.0
Tutti gli output obbligatori sono soddisfatti e ogni output fornito è nominato nel contratto.
Usato da
Nulla nel catalogo dipende da questa entità.