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.
Nguồn gốc
- Digest nội dung
- sha256:b8f282daf9fded936db0ded54b2b839d948694adee7c55055c6b843e465689a4
- Đã xuất bản
- 2026-11-23T02:46:45Z
- 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:db6f70d7452ce860aded7e5261b258063c8a95aa9b02e56316902600053284be
Tham chiếu ở phiên bản này
oci://hub.aggrega.ai/recipe/terraform/function-azure-functions:1.0.0- Đích
- —
- Triển khai
- core/compute/function: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ụ.
Chưa khai báo mẫu provides nào.
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 |
|---|---|
| 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 -}} |
Á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 khai
core/compute/function:1.0.0
Được sử dụng bởi
Không có gì trong danh mục phụ thuộc vào thực thể này.