Welcome to Pulumi Registry, your window into the cloud. Read the announcement.

GCP Global CloudRun

v0.0.3 published on Friday, Oct 15, 2021 by Paul Stack

Easily create a globally load-balanced Google Cloud Run application using this component, which is available in all Pulumi languages.


import * as pulumi from "@pulumi/pulumi";
import * as cloudrun from "@pulumi/gcp-global-cloudrun";

const conf = new pulumi.Config()
const project = conf.require("project")

const deployment = new cloudrun.Deployment("my-sample-deployment", {
    projectId: project,

    imageName: "gcr.io/ahmetb-public/zoneprinter",
    serviceName: "demo-service-ts"

export const ip = deployment.ipAddress;
import pulumi
import pulumi_gcp_global_cloudrun as cloudrun

config = pulumi.Config()
project = config.require("project")

deployment = cloudrun.Deployment("my-sample-deployment",

pulumi.export('ip', deployment.ip_address)
package main

import (
	cloudrun "github.com/pulumi/pulumi-gcp-global-cloudrun/sdk/go/gcp"

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		c := config.New(ctx, "")
		project := c.Require("project")

		deployment, err := cloudrun.NewDeployment(ctx, "demo-deployment-go", &cloudrun.DeploymentArgs{
			ImageName:   pulumi.String("gcr.io/ahmetb-public/zoneprinter"),
			ServiceName: "demo-service-ts",
			ProjectId:   project,
		if err != nil {
			return err

		ctx.Export("ip", deployment.IpAddress)

		return nil