Recipe
postgres-aurora
PostgreSQL on Amazon Aurora, rendered as a CloudFormation fragment: an AWS::RDS::DBCluster and its AWS::RDS::DBInstance resources, which the cloudformation provider assembles into the boundary's stack. Reach for it where the database runs on Aurora's cluster storage, which grows as data is added and which every instance of the cluster shares; reach for cloudformation/postgres-rds for one RDS instance with storage of a set size. Aurora 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. The cluster runs one instance, plus infra.ha.read_replicas reader instances, at least one while infra.ha.enabled is true, which Aurora fails over to. An attached core/backup configures the cluster's own automated backups; one asking AWS Backup, through infra.role_arn, halts the build. host publishes a CloudFormation reference to the cluster's endpoint; port publishes infra.port. Set infra.overrides.host in the Release to the DNS name or IP literal the cluster is reached at, and host publishes that name instead. The Recipe emits nothing for it, and a consumer in the same stack then loses the ordering the reference gave it: order the two with the boundaries' syncWave. An engine version Aurora does not spell, an encoding, a locale, init scripts, a raw configuration file and a storage type other than aurora or aurora-iopt1 halt the build naming the key; compute.cpu, compute.memory and storage.size are not read.
Provenance
- Content digest
- sha256:844de365040e42d1917d09097825a9d8ff6b07278775fe856f312dc12f33c7a3
- Published
- 2026-11-23T02:46:35Z
- Signing identity
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signature
- Officialapplication/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:1bdaa254ea631aaf72c4061d14813ace2dfcb1fdfd0802c1932128753734b965
Reference at this version
oci://hub.aggrega.ai/recipe/cloudformation/postgres-aurora:1.0.0- Target
- —
- Implements
- core/datastore/postgres:1.0.0
Provides
Deterministic pointer templates this recipe wires for consumers.
| Name | Template |
|---|---|
| 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
No workload template declared.
Locals
| Name | Template |
|---|---|
| logical_id | {{ capitalizedWords .context.instance_id }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| instance_class | {{ optional (optional .infra "overrides" dict) "DBInstanceClass" "db.t3.medium" }} |
| native_backup | Amazon Aurora automated backups |
Values mapping
No values mapping declared.
Relationships
Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.
Uses
- implementsimplementscontract compatible
core/datastore/postgres:1.0.0
All required outputs are satisfied and every provided output is named in the contract.
Used by
Nothing in the catalog depends on this entity.