Trang này được dịch bằng máy. Đọc bản gốc tiếng Anh.

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.

Nguồn gốc

Chính thứcĐược ký bởi một danh tính ký mà danh mục này công nhận là nhà phát hành chính thức.
Digest nội dung
sha256:975e5d2c3af88b71bb82ccc4a6b940a773626b2ddcae08329433ef38c801cf90
Đã xuất bản
2026-11-23T02:46:54Z
Danh tính ký
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Chữ ký

  • Chính thứcapplication/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

Tham chiếu ở phiên bản này

oci://hub.aggrega.ai/recipe/terraform/function-cloud-run:1.0.0
Đích
—
Triển khai
core/compute/function:1.0.0

Cung cấp

Các mẫu con trỏ xác định mà công thức này nối cho bên tiêu thụ.

Chưa khai báo mẫu provides nào.

Workload

Chưa khai báo mẫu khối lượng công việc nào.

Giá trị cục bộ

TênMẫu
value_env{"values.runtime": "FUNCTION_RUNTIME"}

Ánh xạ values

TênMẫu
$importCloudRunArguments#/mappings/ServiceArguments

Quan hệ

Các cạnh có kiểu đi tới và đi từ các thực thể đã xuất bản khác. Một tham chiếu không có đích đã xuất bản được hiển thị là một cạnh bị đứt thay vì một liên kết.

Sử dụng

Được sử dụng bởi

Không có gì trong danh mục phụ thuộc vào thực thể này.

Tài liệu tham khảo khái niệm Recipe

Danh mục Aggrega — chỉ mục mở gồm các thành phần, tính năng, công thức và các plugin kết xuất chúng.

Được xây dựng bằng hệ thống thiết kế dùng chung của Aggrega.

Quyền riêng tư