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.
Proveniência
- Digest do conteúdo
- sha256:975e5d2c3af88b71bb82ccc4a6b940a773626b2ddcae08329433ef38c801cf90
- Publicado
- 2026-11-23T02:46:54Z
- Identidade de assinatura
- https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main
Assinatura
- Oficialapplication/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
Referência nesta versão
oci://hub.aggrega.ai/recipe/terraform/function-cloud-run:1.0.0- Destino
- —
- Implementa
- core/compute/function:1.0.0
Fornece
Modelos de ponteiros determinísticos que esta receita liga para os consumidores.
Nenhum modelo provides declarado.
Workload
Nenhum modelo de carga de trabalho declarado.
Variáveis locais
| Nome | Modelo |
|---|---|
| value_env | {"values.runtime": "FUNCTION_RUNTIME"} |
Mapeamento de valores
| Nome | Modelo |
|---|---|
| $import | CloudRunArguments#/mappings/ServiceArguments |
Relações
Arestas tipadas de e para outras entidades publicadas. Uma referência sem destino publicado é apresentada como uma aresta quebrada em vez de uma ligação.
Usa
- implementaimplementa
core/compute/function:1.0.0
Usado por
Nada no catálogo depende desta entidade.