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.
Pochodzenie
- Skrót zawartości
- sha256:0fc478ab2a5362bdbed4c985e742cab46eae864cf561f39f0ab964e68be36d3f
- Opublikowano
- 2026-11-23T02:47:04Z
- 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:f96bb374a256c6c6acdd360663f5ccbb474e3be448e7d498b39a721300bd9c4e
Referencja w tej wersji
oci://hub.aggrega.ai/recipe/terraform/server-app-service:1.0.0- Cel
- —
- Implementuje
- core/compute/server:1.1.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_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 -}} |
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/server:1.1.0
Używane przez
Nic w katalogu nie zależy od tej encji.