Recipe
server-container-apps
The generic long-running server primitive as one Azure Container Apps app running the Release's image on infra.port, through a Terraform module kept beside this Recipe. Reach for it in an Azure subscription with a Container Apps environment; for terraform/server-ecs or cloudformation/server-ecs in an AWS account, terraform/server-cloud-run on Google Cloud, and helm/server on Kubernetes. Its ingress is internal: only the other apps in its environment reach it, and it is not published at the environment's inbound address. The environment and resource group are the operator's, each required under infra.overrides; user-assigned identities and a private registry, its password read from Key Vault by reference, are optional. Only the app is emitted — no environment, network, identity, registry, Key Vault or log workspace, each the operator's. Each env entry an edge's inject block, or the component's own, dictates becomes a container variable of that name, written whole, so a neighbour's Terraform reference is evaluated by the engine, and each file entry a secret mounted alone at the path named. Neither may dictate a name Container Apps sets itself; arg and other entries are refused by name. The app runs exactly infra.replicas replicas at the smallest Consumption size meeting infra.compute.cpu and infra.compute.memory, so the Component's defaults run at 0.25 vCPU and 0.5 GiB. Azure/avm-res-app-containerapp/azurerm is not sourced: at 0.9.0, its newest, it calls Azure/avm-utl-interfaces/azure from the registry, which init fetches outside the pin. It takes hashicorp/azurerm 4 or 5, so it shares a terraform boundary with terraform/postgres-flexible-server or with the azurerm 5 Recipes.
Versi
Asal-usul
- Digest konten
- sha256:7b81b782dde851a51c1631cb68974ef2dca041676456aa8177d1b1b8a1431274
- Dipublikasikan
- 2026-11-15T08:09:50Z
- 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:ebc88f669fa7fe3a4d4a42a7adeb28a570bee626b9b9fb3ece86a4c050008f0b
Referensi pada versi ini
oci://hub.aggrega.ai/recipe/terraform/server-container-apps:1.1.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
| Nama | Templat |
|---|---|
| cpu_millicores | {{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m
|
| memory_mib | {{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi
|
| size | {{- $found := "" -}} {{- if and .locals.cpu_millicores .locals.memory_mib -}} {{- $mc := atoi .locals.cpu_millicores -}}{{- $mib := atoi .locals.memory_mib -}} {{- range list (list 250 512 "0.25" "0.5Gi") (list 500 1024 "0.5" "1.0Gi") (list 750 1536 "0.75" "1.5Gi") (list 1000 2048 "1.0" "2.0Gi") (list 1250 2560 "1.25" "2.5Gi") (list 1500 3072 "1.5" "3.0Gi") (list 1750 3584 "1.75" "3.5Gi") (list 2000 4096 "2.0" "4.0Gi") (list 2250 4608 "2.25" "4.5Gi") (list 2500 5120 "2.5" "5.0Gi") (list 2750 5632 "2.75" "5.5Gi") (list 3000 6144 "3.0" "6.0Gi") (list 3250 6656 "3.25" "6.5Gi") (list 3500 7168 "3.5" "7.0Gi") (list 3750 7680 "3.75" "7.5Gi") (list 4000 8192 "4.0" "8.0Gi") -}} {{- if and (not $found) (ge (index . 0) $mc) (ge (index . 1) $mib) -}} {{- $found = printf "%s/%s" (index . 2) (index . 3) -}} {{- end -}} {{- end -}} {{- end -}} {{- $found -}} |
| size_cpu | {{ if .locals.size }}{{ index (splitList "/" .locals.size) 0 }}{{ end }} |
| size_memory | {{ if .locals.size }}{{ index (splitList "/" .locals.size) 1 }}{{ 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
- mengimplementasikanmengimplementasikan
core/compute/server:1.1.0
Digunakan oleh
Tidak ada apa pun di katalog yang bergantung pada entitas ini.