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.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:be4fdc2bea1cc823aa89c61897a9548f25609d1670c9472a1390d389833b49b3
Published
2026-11-23T02:46:54Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/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

Reference at this version

oci://hub.aggrega.ai/recipe/terraform/mysql-flexible-server:1.0.0
Target
—
Implements
core/datastore/mysql:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

NameTemplate
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.fqdn}{{ end }}
port3306
user{{ .values.user }}
database{{ .values.database }}
protocolmysql

Workload

No workload template declared.

Locals

NameTemplate
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_backupAzure Database for MySQL flexible server automated backups

Values mapping

No values mapping declared.

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

  • implementsimplementscontract compatible

    core/datastore/mysql:1.0.0

    All required outputs are satisfied and every provided output is named in the contract.

Used by

Nothing in the catalog depends on this entity.

Recipe concept reference

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy