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.

Provenance

OfficialSigned by a signing identity this catalog recognizes as an official publisher.
Content digest
sha256:975e5d2c3af88b71bb82ccc4a6b940a773626b2ddcae08329433ef38c801cf90
Published
2026-11-23T02:46:54Z
Signing identity
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Signature

  • Officialapplication/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

Reference at this version

oci://hub.aggrega.ai/recipe/terraform/function-cloud-run:1.0.0
Target
—
Implements
core/compute/function:1.0.0

Provides

Deterministic pointer templates this recipe wires for consumers.

No provides templates declared.

Workload

No workload template declared.

Locals

NameTemplate
value_env{"values.runtime": "FUNCTION_RUNTIME"}

Values mapping

NameTemplate
$importCloudRunArguments#/mappings/ServiceArguments

Relationships

Typed edges to and from other published entities. A reference with no published target renders as a broken edge rather than a link.

Uses

Used by

Nothing in the catalog depends on this entity.

Recipe concept reference

The Aggrega catalog — an open index of components, features, recipes, and the plugins that render them.

Built with the shared Aggrega design system.

Privacy