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

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.

Provenance

OfficielSigné par une identité de signature que ce catalogue reconnaît comme éditeur officiel.
Empreinte du contenu
sha256:0fc478ab2a5362bdbed4c985e742cab46eae864cf561f39f0ab964e68be36d3f
Publié
2026-11-23T02:47:04Z
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:f96bb374a256c6c6acdd360663f5ccbb474e3be448e7d498b39a721300bd9c4e

Référence à cette version

oci://hub.aggrega.ai/recipe/terraform/server-app-service:1.0.0
Cible
—
Implémente
core/compute/server:1.1.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_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 -}}

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é