Questa pagina è stata tradotta automaticamente. Leggi l’originale in inglese.

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.

Provenienza

UfficialeFirmato da un’identità di firma che questo catalogo riconosce come editore ufficiale.
Digest del contenuto
sha256:b8f282daf9fded936db0ded54b2b839d948694adee7c55055c6b843e465689a4
Pubblicato
2026-11-23T02:46:45Z
Identità di firma
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Firma

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

Riferimento a questa versione

oci://hub.aggrega.ai/recipe/terraform/function-azure-functions:1.0.0
Destinazione
—
Implementa
core/compute/function:1.0.0

Fornisce

Modelli di puntatori deterministici che questa ricetta collega per i consumatori.

Nessun modello provides dichiarato.

Workload

Nessun modello di workload dichiarato.

Variabili locali

NomeModello
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 -}}

Mappatura dei valori

Nessuna mappatura dei valori dichiarata.

Relazioni

Archi tipizzati da e verso altre entità pubblicate. Un riferimento senza una destinazione pubblicata viene mostrato come arco interrotto anziché come link.

Usa

Usato da

Nulla nel catalogo dipende da questa entità.

Riferimento al concetto Recipe

Il catalogo Aggrega — un indice aperto di componenti, funzionalità, ricette e dei plugin che li renderizzano.

Realizzato con il design system condiviso di Aggrega.

Privacy