Recipe
mysql-rds-module
MySQL via AWS RDS, rendered by vendoring a local Terraform module and supplying its input variables. host publishes a Terraform reference to the instance's hostname, an output of the vendored 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. The Recipe emits nothing for it — no DNS record, no alias — so pointing the name at the instance is the operator's. Reach for this realization where nothing may be fetched; reach for terraform/mysql-rds-terraform-aws-modules, the terraform-aws-modules project's published RDS module, where the pull may fetch it from its git repository, and for terraform/mysql-rds where the instance needs read replicas. 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, charset and collation 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.
Herkunft
- Inhalts-Digest
- sha256:29fde6176aa4c202ec4058b799897d022fee94756d3104a174e926b4359c7660
- Veröffentlicht
- 2026-11-10T10:28:30Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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:12a434e2895b272e2868ab75784d87d0b5e4c005f77ada140bfb52a9ed9758a7
Referenz zu dieser Version
oci://hub.aggrega.ai/recipe/terraform/mysql-rds-module:1.0.0- Ziel
- —
- Implementiert
- core/datastore/mysql:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
| Name | Vorlage |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.address}{{ end }} |
| port | {{ .infra.port }} |
| user | admin |
| database | {{ .values.database }} |
| protocol | mysql |
Workload
Keine Workload-Vorlage deklariert.
Lokale Variablen
| Name | Vorlage |
|---|---|
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| native_backup | Amazon RDS automated backups |
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiertVertrag kompatibel
core/datastore/mysql:1.0.0
Alle erforderlichen Ausgaben sind erfüllt, und jede bereitgestellte Ausgabe ist im Vertrag genannt.
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.