Recipe
mysql-rds
MySQL via AWS RDS, rendered as a Terraform HCL body. Authored as a full-body artifact named main.tf that emits verbatim as a standalone file alongside any other artifacts contributed at the same boundary. host publishes a Terraform reference to the instance's hostname, an output of this component's 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. Pointing that name at the instance is the operator's. Reach for this realization where nothing may be fetched or where the instance needs read replicas; 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. 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 — halts the build naming the key; compute.cpu, compute.memory, 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:cf4d9d2415daca5bc8053a9faeb8574dde46aa569ba7c80f40cf1e99a3bdd754
- 公開日
- 2026-11-10T10:28:33Z
- 署名 ID
- 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:2aa80699a0cb7872528bcf0271fec45749af26a3690fa7d07125b0d6889d9cca
このバージョンの参照
oci://hub.aggrega.ai/recipe/terraform/mysql-rds:1.0.0- ターゲット
- —
- 実装対象
- core/datastore/mysql: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 | mysql |
Workload
ワークロードテンプレートは宣言されていません。
ローカル変数
| 名前 | テンプレート |
|---|---|
| db_identifier | {{ .context.instance_id }} |
| native_backup | Amazon RDS automated backups |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
値のマッピング
値のマッピングは宣言されていません。
関係
他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。
使用先
- 実装実装コントラクト互換
core/datastore/mysql:1.0.0
必須の出力はすべて満たされており、提供されるすべての出力がコントラクトに記載されています。
使用元
カタログ内にこのエンティティに依存しているものはありません。