Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

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.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:0fc478ab2a5362bdbed4c985e742cab46eae864cf561f39f0ab964e68be36d3f
Dipublikasikan
2026-11-23T02:47:04Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • Resmiapplication/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

Referensi pada versi ini

oci://hub.aggrega.ai/recipe/terraform/server-app-service:1.0.0
Target
—
Mengimplementasikan
core/compute/server:1.1.0

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

Tidak ada templat provides yang dideklarasikan.

Workload

Tidak ada templat beban kerja yang dideklarasikan.

Nilai lokal

NamaTemplat
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 -}}

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep Recipe

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi