Recipe
function-azure-functions
The generic event-driven compute primitive as one Azure Functions function app running the Release's image, a whole function app image holding the Functions host, on the operator's Elastic Premium or Dedicated plan, rendered as Terraform for the azurerm provider by a module kept beside this Recipe. The module Microsoft's Azure Verified Modules programme publishes for App Service is not sourced, because it calls a module from the Terraform registry. Reach for it where the operator runs such a plan and the Release deploys Terraform, for arm/function-azure-functions where it deploys an Azure Resource Manager template, for terraform/function-cloud-run on Google Cloud and for terraform/function-lambda in an AWS account. The plan, resource group, region and host storage account are the operator's, each required under infra.overrides, with one user-assigned identity the host reaches its storage with; no access key is taken. Only the app is emitted, with public network access off. Each env entry an inject block dictates becomes an app setting; runtime arrives by default as FUNCTION_RUNTIME. A name the platform sets or does not take, and file, arg and other entries halt by name. These plans keep an instance running, so infra.min_replicas 0, the Component's default, halts: set at least 1. Identities are read in the subscription Terraform runs against. It takes hashicorp/azurerm ~> 5.14, so it goes in a terraform boundary apart from terraform/postgres-flexible-server and terraform/azure-api-management.
Asal-usul
- Digest konten
- sha256:b8f282daf9fded936db0ded54b2b839d948694adee7c55055c6b843e465689a4
- Dipublikasikan
- 2026-11-23T02:46:45Z
- 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:db6f70d7452ce860aded7e5261b258063c8a95aa9b02e56316902600053284be
Referensi pada versi ini
oci://hub.aggrega.ai/recipe/terraform/function-azure-functions:1.0.0- Target
- —
- Mengimplementasikan
- core/compute/function:1.0.0
Menyediakan
Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.
Tidak ada templat provides yang dideklarasikan.
Workload
Tidak ada templat beban kerja yang dideklarasikan.
Nilai lokal
| Nama | Templat |
|---|---|
| image_host | {{- $parts := splitList "/" (toString (optional .infra "image" "")) -}} {{- $first := first $parts -}} {{- if and (gt (len $parts) 1) (or (contains "." $first) (contains ":" $first) (eq $first "localhost")) -}} {{- if eq (lower $first) "docker.io" }}index.docker.io{{ else }}{{ $first }}{{ end -}} {{- else }}index.docker.io{{ end -}} |
| image_path | {{- $image := toString (optional .infra "image" "") -}} {{- $parts := splitList "/" $image -}} {{- $first := first $parts -}} {{- if and (gt (len $parts) 1) (or (contains "." $first) (contains ":" $first) (eq $first "localhost")) -}} {{- join "/" (rest $parts) -}} {{- else }}{{ $image }}{{ end -}} |
| image_tag | {{- $tag := regexFind ":[^:/]+quot; .locals.image_path -}} {{- if $tag }}{{ trimPrefix ":" $tag }}{{ else }}latest{{ end -}} |
| image_name | {{- trimSuffix (regexFind ":[^:/]+quot; .locals.image_path) .locals.image_path -}} |
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
- mengimplementasikanmengimplementasikan
core/compute/function:1.0.0
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.