Recipe
mysql-rds-terraform-aws-modules
MySQL 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: root_password takes core/generated-secret, and any other credential there or on user_password halts the build. Reach for this realization where the pull may fetch the module from its git repository; reach for terraform/mysql-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. Unlike the authored Recipes, it sets charset and collation, in the parameter group the module creates for the instance. 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 application user, 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.
Происхождение
- Дайджест содержимого
- sha256:700ba6375c5dfb3a036e8a5053e4e42ef6e9d4d03fe36aefb3f588ad646d33a4
- Опубликовано
- 2026-11-10T10:28:33Z
- Идентичность подписи
- 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:1d3fc8fb1f43d8783a8d459d528d55c7933c07091de67d4bd5dbc0954f02bead
Ссылка на эту версию
oci://hub.aggrega.ai/recipe/terraform/mysql-rds-terraform-aws-modules:1.0.0- Цель
- —
- Реализует
- core/datastore/mysql:1.0.0
Предоставляет
Детерминированные шаблоны указателей, которые этот рецепт связывает для потребителей.
| Имя | Шаблон |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.db_instance_address}{{ end }} |
| port | {{ .infra.port }} |
| user | admin |
| database | {{ .values.database }} |
| protocol | mysql |
Workload
Шаблон рабочей нагрузки не объявлен.
Локальные значения
| Имя | Шаблон |
|---|---|
| major_version | {{ $p := splitList "." (toString .infra.engine_version) }}{{ if ge (len $p) 2 }}{{ index $p 0 }}.{{ index $p 1 }}{{ end }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| native_backup | Amazon RDS automated backups |
Сопоставление values
Сопоставление values не объявлено.
Связи
Типизированные рёбра к другим опубликованным сущностям и от них. Ссылка без опубликованной цели отображается как разорванное ребро, а не как ссылка.
Использует
- реализуетреализуетконтракт совместим
core/datastore/mysql:1.0.0
Все обязательные выходные значения обеспечены, и каждое предоставляемое выходное значение названо в контракте.
Используется в
Ничто в каталоге не зависит от этой сущности.