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.
来源
- 内容摘要
- sha256:5ccbc15062d34090c3533fe18d36e88aba7afb474cfe0e2d20e1706c6edf0cce
- 发布时间
- 2026-11-10T10:17:51Z
- 签名身份
- 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:cf598292e087fe708d5a547cee52028304ce3d07caea7f81af6054e5b419bba5
此版本的引用
oci://hub.aggrega.ai/recipe/cloudformation/mysql-rds:1.0.0- 目标
- —
- 实现
- core/datastore/mysql:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| 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
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| 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 |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/datastore/mysql:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。