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
未声明工作负载模板。
局部变量
| 名称 | 模板 |
|---|---|
| value_env | {"values.runtime": "FUNCTION_RUNTIME"} |
值映射
| 名称 | 模板 |
|---|---|
| $import | CloudRunArguments#/mappings/ServiceArguments |
关系
与其他已发布实体之间的类型化边。没有已发布目标的引用会呈现为断开的边,而不是链接。
使用
- 实现实现
core/compute/function:1.0.0
被使用
目录中没有任何内容依赖此实体。