All skills
davila7 avatar

/cloud-run-basics

@82b0fb3

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/davila7/claude-code-templates/cloud-run-basics

This session only. Nothing lands on disk.

referencesiac-usage.md

≈504 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 dpcumentation

YAML

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

Source: SKILL.md on GitHub

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    This skill provides documentation and command examples for managing Google Cloud Run resources using official Google Cloud tools, client libraries, and Infrastructure as Code. No malicious patterns or security risks were identified.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

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

Last checked against GitHub 19 hours ago.

Activeupdated 5 months ago
source
google/skills (Apache 2.0)

README badge

README badge for davila7/claude-code-templates/cloud-run-basics