Recipe
mysql-rds
MySQL 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. 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 consumer in the same stack then receives the name too, and CloudFormation no longer creates it after the instance: order the two with the boundaries' syncWave. RDS owns the master password, in AWS Secrets Manager: root_password takes core/generated-secret, and any other credential there or on user_password halts the build. A value RDS cannot apply — an application user, init scripts, a raw configuration file, read replicas — halts the build naming the key; compute.cpu, compute.memory, charset and collation are not read. On terraform the same component is also realized by terraform/mysql-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.
Pochodzenie
- Skrót zawartości
- sha256:5ccbc15062d34090c3533fe18d36e88aba7afb474cfe0e2d20e1706c6edf0cce
- Opublikowano
- 2026-11-10T10:17:51Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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:cf598292e087fe708d5a547cee52028304ce3d07caea7f81af6054e5b419bba5
Referencja w tej wersji
oci://hub.aggrega.ai/recipe/cloudformation/mysql-rds:1.0.0- Cel
- —
- Implementuje
- core/datastore/mysql:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
| Nazwa | Szablon |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}!GetAtt {{ .locals.logical_id }}.Endpoint.Address{{ end }} |
| port | {{ .infra.port }} |
| user | admin |
| database | {{ .values.database }} |
| protocol | mysql |
Workload
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
| Nazwa | Szablon |
|---|---|
| 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 |
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementujekontrakt zgodny
core/datastore/mysql:1.0.0
Wszystkie wymagane wyjścia są spełnione, a każde udostępniane wyjście jest wymienione w kontrakcie.
Używane przez
Nic w katalogu nie zależy od tej encji.