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

Google Cloud (GCP) Classic

v6.2.0 published on Monday, Nov 22, 2021 by Pulumi

The Google Cloud Platform (GCP) provider for Pulumi can provision many of the cloud resources available in Google Cloud.

The GCP provider must be configured with credentials to deploy and update resources in Google Cloud; see Installation & Configuration for instructions.

New to Pulumi and Google Cloud? Get started with Google Cloud using our tutorial

Example

const gcp = require("@pulumi/gcp")

const bucket = new gcp.storage.Bucket("my-bucket");
import * as gcp from "@pulumi/gcp";

const bucket = new gcp.storage.Bucket("my-bucket");
from pulumi_gcp import storage

bucket = storage.Bucket('my-bucket')
import (
    "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    "github.com/pulumi/pulumi-gcp/sdk/v5/go/gcp/storage"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		bucket, err := storage.NewBucket(ctx, "my-bucket", nil)
		if err != nil {
			return err
		}

		return nil
	})
}
using System.Threading.Tasks;
using Pulumi;
using Pulumi.Gcp;

class Program
{
    static Task Main() =>
        Deployment.Run(() => {
            var bucket = new Gcp.Storage.Bucket("my-bucket");
        });
}

Visit the How-to Guides to find step-by-step guides for specific scenarios like creating a serverless application using Google Cloud Functions or setting up a Google Kubernetes Engine (GKE) cluster.