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.
Proveniência
- Digest do conteúdo
- sha256:0fc478ab2a5362bdbed4c985e742cab46eae864cf561f39f0ab964e68be36d3f
- Publicado
- 2026-11-23T02:47:04Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/recipe/terraform/server-app-service:1.0.0- Destino
- —
- Implementa
- core/compute/server:1.1.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
Nenhum modelo provides declarado.
Workload
Nenhum modelo de carga de trabalho declarado.
Variáveis locais
| Nome | Modelo |
|---|---|
| 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 -}} |
Mapeamento de valores
Nenhum mapeamento de valores declarado.
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementa
core/compute/server:1.1.0
Usado por
Nada no catálogo depende desta entidade.