このページは機械翻訳されています。英語の原文を読む。

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.

バージョン

1.0.01.1.0

来歴

公式このカタログが公式の公開者として認めている署名 ID によって署名されています。
コンテンツダイジェスト
sha256:7b81b782dde851a51c1631cb68974ef2dca041676456aa8177d1b1b8a1431274
公開日
2026-11-15T08:09:50Z
署名 ID
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

署名

  • 公式application/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

このバージョンの参照

oci://hub.aggrega.ai/recipe/terraform/server-container-apps:1.1.0
ターゲット
—
実装対象
core/compute/server:1.1.0

提供

このレシピが利用側のために配線する決定論的なポインターテンプレートです。

provides テンプレートは宣言されていません。

Workload

ワークロードテンプレートは宣言されていません。

ローカル変数

名前テンプレート
cpu_millicores{{- $c := toString (optional (optional .infra "compute" dict) "cpu" "") -}} {{- if regexMatch `^[0-9]+m server-container-apps 1.1.0 · Aggrega カタログ $c -}}{{ atoi (trimSuffix "m" $c) }} {{- else if regexMatch `^[0-9]+(\.[0-9]{1,3})? server-container-apps 1.1.0 · Aggrega カタログ $c -}} {{- $p := splitList "." $c -}}{{- $f := 0 -}} {{- if eq (len $p) 2 }}{{ $f = atoi (substr 0 3 (printf "%s000" (index $p 1))) }}{{ end -}} {{- add (mul (atoi (index $p 0)) 1000) $f -}} {{- end -}}
memory_mib{{- $m := toString (optional (optional .infra "compute" dict) "memory" "") -}} {{- if regexMatch `^[0-9]+Mi server-container-apps 1.1.0 · Aggrega カタログ $m -}}{{ atoi (trimSuffix "Mi" $m) }} {{- else if regexMatch `^[0-9]+Gi server-container-apps 1.1.0 · Aggrega カタログ $m -}}{{ mul (atoi (trimSuffix "Gi" $m)) 1024 }} {{- end -}}
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 }}

値のマッピング

値のマッピングは宣言されていません。

関係

他の公開エンティティとの間の型付きエッジです。公開されたターゲットがない参照は、リンクではなく切れたエッジとして表示されます。

使用先

使用元

カタログ内にこのエンティティに依存しているものはありません。

Recipe の概念リファレンス →

Aggrega カタログ — コンポーネント、機能、レシピ、およびそれらをレンダリングするプラグインのオープンなインデックスです。

共有の Aggrega デザインシステムで構築されています。

プライバシー