Recipe
mysql-flexible-server
MySQL on Azure Database for MySQL flexible server, one server with private access in a delegated subnet of the operator's virtual network and the database values.database names, rendered as Terraform for the azurerm provider by a module kept beside this Recipe. The module Microsoft's Azure Verified Modules programme publishes for the service is not sourced, because it is not complete: it declares no database, so no character set or collation, and no server parameter. Reach for it where the database is a flexible server in the operator's Azure subscription; reach for the RDS Recipes on AWS, terraform/mysql-cloud-sql on Google Cloud, and the helm or compose Recipes for a container. It needs hashicorp/azurerm 5.14 or later, so it goes in a terraform boundary apart from terraform/postgres-flexible-server and terraform/azure-api-management. The resource group, region, delegated subnet and private DNS zone are the operator's, named in infra.overrides, and none is emitted. values.user names the server's administrator login and must be set; its password is the core/random-password attachment on root_password, handed over as a Terraform reference, so the rendered files carry no password, and another credential halts naming the slot. host publishes a reference to the server's FQDN, or infra.overrides.host; port is 3306. Init scripts, a configuration file, a credential on user_password, replicas, another port, a disk type, a storage size the service does not offer and an infra.overrides key this Recipe does not read halt naming the key; compute is not read, because infra.overrides.sku_name sizes the server.
Asal-usul
- Digest konten
- sha256:be4fdc2bea1cc823aa89c61897a9548f25609d1670c9472a1390d389833b49b3
- Dipublikasikan
- 2026-11-23T02:46:54Z
- Identitas penandatangan
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Tanda tangan
- Resmiapplication/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:1748cfefb49c06b6f8703fedeb2f31a0d21b75262cc8f2b2aba2e0c5711ae490
Referensi pada versi ini
oci://hub.aggrega.ai/recipe/terraform/mysql-flexible-server:1.0.0- Target
- —
- Mengimplementasikan
- core/datastore/mysql:1.0.0
Menyediakan
Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.
| Nama | Templat |
|---|---|
| host | {{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.fqdn}{{ end }} |
| port | 3306 |
| user | {{ .values.user }} |
| database | {{ .values.database }} |
| protocol | mysql |
Workload
Tidak ada templat beban kerja yang dideklarasikan.
Nilai lokal
| Nama | Templat |
|---|---|
| version | {{ get (dict "5.7" "5.7" "8.0" "8.0.21" "8.4" "8.4") (regexFind `^[0-9]+\.[0-9]+` (toString .infra.engine_version)) }} |
| sku | {{ optional (optional .infra "overrides" dict) "sku_name" "GP_Standard_D2ds_v4" }} |
| operator_host | {{ $h := optional (optional .infra "overrides" dict) "host" "" }}{{ if typeIs "string" $h }}{{ $h }}{{ end }} |
| native_backup | Azure Database for MySQL flexible server automated backups |
Pemetaan values
Tidak ada pemetaan values yang dideklarasikan.
Relasi
Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.
Menggunakan
- mengimplementasikanmengimplementasikankontrak kompatibel
core/datastore/mysql:1.0.0
Semua keluaran wajib terpenuhi dan setiap keluaran yang disediakan disebutkan dalam kontrak.
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.