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.
Nguồn gốc
- Digest nội dung
- sha256:be4fdc2bea1cc823aa89c61897a9548f25609d1670c9472a1390d389833b49b3
- Đã xuất bản
- 2026-11-23T02:46:54Z
- Danh tính ký
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Chữ ký
- Chính thứcapplication/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
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/terraform/mysql-flexible-server:1.0.0- Đích
- —
- Triển khai
- core/datastore/mysql:1.0.0
Cung cấp
Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.
| Tên | Mẫu |
|---|---|
| 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
Chưa khai báo mẫu khối lượng công việc nào.
Giá trị cục bộ
| Tên | Mẫu |
|---|---|
| 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 |
Ánh xạ values
Chưa khai báo ánh xạ values nào.
Quan hệ
Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.
Sử dụng
- triển khaitriển khaihợp đồng tương thích
core/datastore/mysql:1.0.0
Tất cả đầu ra bắt buộc đều được đáp ứng và mọi đầu ra được cung cấp đều được nêu tên trong hợp đồng.
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.