Recipe
mysql-aurora
MySQL on Amazon Aurora, realized by the published Aurora module of the terraform-aws-modules project, terraform-aws-modules/rds-aurora/aws at v10.4.2, Apache-2.0, fetched from its git repository at that tag and pinned by the commit it names in the entity.lock beside this Recipe. Reach for it where the database runs on Aurora's cluster storage, which grows as data is added and which every instance of the cluster shares; reach for terraform/mysql-rds for one RDS instance with storage of a set size. Aurora owns the password of the master user, admin, in AWS Secrets Manager: root_password takes core/generated-secret, and any other credential there or on user_password halts the build. The cluster runs one instance, plus infra.ha.read_replicas reader instances, at least one while infra.ha.enabled is true, which Aurora fails over to. An attached core/backup configures the cluster's own automated backups; one asking AWS Backup by infra.role_arn is halted by terraform/backup-aws-backup. host publishes a Terraform reference to the module's cluster_endpoint 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 cluster instead; a consumer in the same root then loses the ordering the reference gave it: order the two with the boundaries' syncWave. infra.overrides.subnet_group is required. An engine version Aurora does not spell, an application user, init scripts, a raw configuration file and a storage type other than aurora or aurora-iopt1 halt the build naming the key; compute.cpu, compute.memory, storage.size, charset and collation are not read.
来源
- 内容摘要
- sha256:48bc09cf2558d7a221ead7d8a7186838bde74086a499ef89787163aaac12b422
- 发布时间
- 2026-11-23T02:46:54Z
- 签名身份
- 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:a2e244b33674aa310fca3d0bb37f8438df930c54f339f907c5fd2dd4bfd02457
此版本的引用
oci://hub.aggrega.ai/recipe/terraform/mysql-aurora:1.0.0- 目标
- —
- 实现
- core/datastore/mysql:1.0.0
提供
此配方为使用方接入的确定性指针模板。
| 名称 | 模板 |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.cluster_endpoint}{{ end }} |
| port | {{ .infra.port }} |
| user | admin |
| database | {{ .values.database }} |
| protocol | mysql |
Workload
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| instance_class | {{ optional (optional .infra "overrides" dict) "instance_class" "db.t3.medium" }} |
| native_backup | Amazon Aurora automated backups |
值映射
未声明值映射。
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现契约兼容
core/datastore/mysql:1.0.0
所有必需输出均已满足,且提供的每个输出都在契约中列出。
被使用
目录中没有任何内容依赖此实体。