Cette page a été traduite automatiquement. Lire l’original en anglais.

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.

Provenance

OfficielSigné par une identité de signature que ce catalogue reconnaît comme éditeur officiel.
Empreinte du contenu
sha256:b8f282daf9fded936db0ded54b2b839d948694adee7c55055c6b843e465689a4
Publié
2026-11-23T02:46:45Z
Identité de signature
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

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

Référence à cette version

oci://hub.aggrega.ai/recipe/terraform/function-azure-functions:1.0.0
Cible
—
Implémente
core/compute/function:1.0.0

Fournit

Modèles de pointeurs déterministes que cette recette câble pour les consommateurs.

Aucun modèle provides déclaré.

Workload

Aucun modèle de charge de travail déclaré.

Variables locales

NomModèle
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 -}}

Correspondance des valeurs

Aucune correspondance des valeurs déclarée.

Relations

Arêtes typées vers et depuis d’autres entités publiées. Une référence sans cible publiée s’affiche comme une arête rompue plutôt que comme un lien.

Utilise

Utilisé par

Rien dans le catalogue ne dépend de cette entité.

Référence du concept Recipe

Le catalogue Aggrega — un index ouvert de composants, de fonctionnalités, de recettes et des plugins qui en assurent le rendu.

Conçu avec le système de design partagé d’Aggrega.

Confidentialité