本頁面由機器翻譯。閱讀英文原文。

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.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:be4fdc2bea1cc823aa89c61897a9548f25609d1670c9472a1390d389833b49b3
發布時間
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:1748cfefb49c06b6f8703fedeb2f31a0d21b75262cc8f2b2aba2e0c5711ae490

此版本的參照

oci://hub.aggrega.ai/recipe/terraform/mysql-flexible-server:1.0.0
目標
—
實作
core/datastore/mysql:1.0.0

提供

此配方為使用端連接的確定性指標範本。

名稱範本
host{{ if .locals.operator_host }}{{ .locals.operator_host }}{{ else }}${module.{{ .context.instance_id }}.fqdn}{{ end }}
port3306
user{{ .values.user }}
database{{ .values.database }}
protocolmysql

Workload

未宣告任何工作負載範本。

Locals

名稱範本
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

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

  • 實作實作契約相容

    core/datastore/mysql:1.0.0

    所有必要的輸出都已滿足,且每個提供的輸出都在契約中列名。

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權