本頁面由機器翻譯。閱讀英文原文。

Recipe

server-app-service

The generic long-running server primitive as one Azure App Service app running the Release's image as a Linux custom container on infra.port, 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 an App Service plan, and for terraform/server-container-apps in a Container Apps environment. The plan, resource group and region are the operator's, each required under infra.overrides; an integration subnet, user-assigned identities and a private registry are optional. Only the app is emitted, with public network access off: the operator's private endpoint is the way in. Each env entry an inject block dictates becomes an app setting, which the container reads as a variable, written whole; a name App Service sets, reserves or does not take, and file, arg and other entries halt by name. The app runs on every instance of its plan, which sizes it, so infra.compute is not read and infra.replicas above 1 halts, as does an infra.overrides key this Recipe does not read. A registry identity's client ID is read from the identity, which must be readable in the subscription Terraform runs against. It takes hashicorp/azurerm ~> 5.14, any 5.x release from 5.14, so it goes in a terraform boundary apart from terraform/postgres-flexible-server and terraform/azure-api-management.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:0fc478ab2a5362bdbed4c985e742cab46eae864cf561f39f0ab964e68be36d3f
發布時間
2026-11-23T02:47:04Z
簽署身分
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

簽章

  • 官方application/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:f96bb374a256c6c6acdd360663f5ccbb474e3be448e7d498b39a721300bd9c4e

此版本的參照

oci://hub.aggrega.ai/recipe/terraform/server-app-service:1.0.0
目標
—
實作
core/compute/server:1.1.0

提供

此配方為使用端連接的確定性指標範本。

未宣告任何 provides 範本。

Workload

未宣告任何工作負載範本。

Locals

名稱範本
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_name{{- $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 -}}

值對應

未宣告任何值對應。

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權