Recipe
mariadb-rds-module
MariaDB 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/mariadb-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/mariadb-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.
Происхождение
- Дайджест содержимого
- sha256:8c12a3afa984dca67cc4b21c7ef1220e830b2c96be88dabbbb038ba7fb31557b
- Опубликовано
- 2026-11-10T10:28:23Z
- Идентичность подписи
- 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:47d35d50e379c1b970a3fd99ffb87bd5841c1550fa13dbc7b6e4dac63de6950b
Ссылка на эту версию
oci://hub.aggrega.ai/recipe/terraform/mariadb-rds-module:1.0.0- Цель
- —
- Реализует
- core/datastore/mariadb:1.0.0
Предоставляет
Детерминированные шаблоны указателей, которые этот рецепт связывает для потребителей.
| Имя | Шаблон |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.address}{{ end }} |
| port | {{ .infra.port }} |
| user | admin |
| database | {{ .values.database }} |
| protocol | mariadb |
Workload
Шаблон рабочей нагрузки не объявлен.
Локальные значения
| Имя | Шаблон |
|---|---|
| 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/mariadb:1.0.0
Все обязательные выходные значения обеспечены, и каждое предоставляемое выходное значение названо в контракте.
Используется в
Ничто в каталоге не зависит от этой сущности.