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.
Pochodzenie
- Skrót zawartości
- sha256:b8f282daf9fded936db0ded54b2b839d948694adee7c55055c6b843e465689a4
- Opublikowano
- 2026-11-23T02:46:45Z
- Tożsamość podpisująca
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Podpis
- Oficjalnyapplication/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
Referencja w tej wersji
oci://hub.aggrega.ai/recipe/terraform/function-azure-functions:1.0.0- Cel
- —
- Implementuje
- core/compute/function:1.0.0
Udostępnia
Deterministyczne szablony wskaźników, które ta receptura podłącza dla konsumentów.
Nie zadeklarowano szablonów provides.
Workload
Nie zadeklarowano szablonu obciążenia roboczego.
Zmienne lokalne
| Nazwa | Szablon |
|---|---|
| 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 -}} |
Mapowanie wartości
Nie zadeklarowano mapowania wartości.
Relacje
Typowane krawędzie do innych opublikowanych encji i od nich. Odwołanie bez opublikowanego celu jest renderowane jako przerwana krawędź, a nie jako łącze.
Używa
- implementujeimplementuje
core/compute/function:1.0.0
Używane przez
Nic w katalogu nie zależy od tej encji.