All skills
google avatar

/cloud-run-basics

@becc4b8
by googlegoogle/skills21k stars
1,698

Manages Cloud Run services, jobs, and worker pools. Use when you need to deploy applications responding to HTTP requests (services), run event-triggered or scheduled tasks (jobs), or handle always-on pull-based background processing (worker pools).

Use this Skill: https://skilld.dev/gh/google/skills/cloud-run-basics

This session only. Nothing lands on disk.

referencesiac-usage.md

≈505 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cloud Run Infrastructure as Code

Cloud Run resources can be provisioned and managed using Terraform and other IaC tools.

Terraform

The Google Cloud Terraform provider supports Cloud Run services, jobs, and worker pools.

Cloud Run service example

resource "google_cloud_run_v2_service" "default" {
  name     = "cloudrun-service"
  location = "us-central1"
  deletion_protection = false
  ingress  = "INGRESS_TRAFFIC_ALL"

  template {
    containers {
      image = "us-docker.pkg.dev/cloudrun/container/hello"
    }
  }
}

resource "google_cloud_run_v2_service_iam_member" "noauth" {
  location = google_cloud_run_v2_service.default.location
  name     = google_cloud_run_v2_service.default.name
  role     = "roles/run.invoker"
  member   = "allUsers"
}

Cloud Run job example

resource "google_cloud_run_v2_job" "default" {
  name     = "cloudrun-job"
  location = "us-central1"

  template {
    template {
      containers {
        image = "us-docker.pkg.dev/cloudrun/container/job"
      }
    }
  }
}

Cloud Run worker pool example

resource "google_cloud_run_v2_worker_pool" "default" {
  name     = "cloudrun-workerpool"
  location = "us-central1"

  template {
    containers {
      image = "us-docker.pkg.dev/cloudrun/container/worker-pool:latest"
    }
  }
}

Reference documentation

YAML

Cloud Run resources can also be defined using YAML. For more information, see Cloud Run YAML reference.

Source: SKILL.md on GitHub

No alerts9d3 checks · Risk SAFE
  • Gen Agent Trust Hub9d

    This skill provides a comprehensive set of instructions and references for managing Google Cloud Run resources. It includes standard CLI usage, client library integration, and infrastructure-as-code examples that follow official Google Cloud patterns and security best practices.

  • Socket9d

    No alerts

  • Snyk9d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "1.0.0",
  "category": "Serverless"
}

README badge

README badge for google/skills/cloud-run-basics