本頁面由機器翻譯。閱讀英文原文。

Recipe

function-cloud-run

The generic event-driven compute primitive as one Cloud Run service running the Release's image, which Cloud Run scales between infra.min_replicas and infra.max_replicas instances, to none at all while idle at the Component's floor of 0, on the catalog's shared Cloud Run body. Reach for it in a Google Cloud project with a VPC network; for terraform/function-lambda or cloudformation/function-lambda in an AWS account, and helm/function-knative or helm/function-keda on Kubernetes. The container answers requests on infra.port, which Cloud Run hands it as PORT. Its ingress is internal, INGRESS_TRAFFIC_INTERNAL_ONLY, which Cloud Run documents as admitting VPC networks in the project and, in the same project or VPC Service Controls perimeter, Eventarc, Pub/Sub, Cloud Scheduler, Cloud Tasks and Workflows, and as refusing the internet. No trigger and no invoker binding is emitted: what invokes it, and the Cloud Run Invoker role of the identity it calls with, are the operator's. The project, region, VPC network and service account are the operator's, each required under infra.overrides; a subnet and network tags are optional. Beside the service, only a Secret Manager secret and its version for each file the component is handed are emitted. Each env entry an inject block dictates becomes a container variable and each file entry a file mounted alone from a secret volume; runtime arrives by default as FUNCTION_RUNTIME. The container runs at the smallest whole-vCPU size meeting infra.compute; a floor above the ceiling and an infra.overrides key this Recipe does not read halt.

出處

官方由本目錄認可為官方發布者的簽署身分所簽署。
內容摘要
sha256:975e5d2c3af88b71bb82ccc4a6b940a773626b2ddcae08329433ef38c801cf90
發布時間
2026-11-23T02:46:54Z
簽署身分
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:e6c8abe7f5bd2dc11d438c8a4d81b14c0b3e4b6d70439a44e6b994667a1a967f

此版本的參照

oci://hub.aggrega.ai/recipe/terraform/function-cloud-run:1.0.0
目標
—
實作
core/compute/function:1.0.0

提供

此配方為使用端連接的確定性指標範本。

未宣告任何 provides 範本。

Workload

未宣告任何工作負載範本。

Locals

名稱範本
value_env{"values.runtime": "FUNCTION_RUNTIME"}

值對應

名稱範本
$importCloudRunArguments#/mappings/ServiceArguments

關係

與其他已發布實體之間具型別的邊。沒有已發布目標的參照,會渲染為中斷的邊,而不是連結。

使用

被使用於

目錄中沒有任何項目相依於此實體。

Recipe 概念參考

Aggrega 目錄:元件、功能、配方,以及負責渲染它們的外掛程式的開放索引。

以共用的 Aggrega 設計系統建置。

隱私權