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.
Herkunft
- Inhalts-Digest
- sha256:be4fdc2bea1cc823aa89c61897a9548f25609d1670c9472a1390d389833b49b3
- Veröffentlicht
- 2026-11-23T02:46:54Z
- Signaturidentität
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Signatur
- Offiziellapplication/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
Referenz zu dieser Version
oci://hub.aggrega.ai/recipe/terraform/mysql-flexible-server:1.0.0- Ziel
- —
- Implementiert
- core/datastore/mysql:1.0.0
Stellt bereit
Deterministische Zeigervorlagen, die dieses Rezept für Konsumenten verdrahtet.
| Name | Vorlage |
|---|---|
| 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
Keine Workload-Vorlage deklariert.
Lokale Variablen
| Name | Vorlage |
|---|---|
| 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 |
Wertezuordnung
Keine Wertezuordnung deklariert.
Beziehungen
Typisierte Kanten zu und von anderen veröffentlichten Entitäten. Eine Referenz ohne veröffentlichtes Ziel wird als unterbrochene Kante statt als Link dargestellt.
Verwendet
- implementiertimplementiertVertrag kompatibel
core/datastore/mysql:1.0.0
Alle erforderlichen Ausgaben sind erfüllt, und jede bereitgestellte Ausgabe ist im Vertrag genannt.
Verwendet von
Nichts im Katalog hängt von dieser Entität ab.