skillfed

pulumi-gcp

A Pulumi package for creating and managing Google Cloud Platform resources.

pulumi-gcp v9.34.1 1.5M downloads/30d#3,839 on PyPI215
Permissive license Apache-2.0 Active released

What it is and what it does

Pulumi-gcp is a Python package that bridges the Pulumi infrastructure-as-code framework with Google Cloud Platform resources. It provides a programmatic interface to define and manage GCP infrastructure using Python code instead of YAML or JSON templates. The package works in tandem with the Pulumi CLI, which orchestrates the actual deployment and state management.

You write Python code that instantiates GCP resource objects, define their configuration and dependencies, and then use Pulumi's CLI to preview and deploy those resources to your GCP projects. The package requires Python 3.9 or later and depends on pulumi, parver, semver, and typing-extensions for runtime support.

Use it for:

  • Define multi-tier GCP infrastructure in a single Python program with full version control
  • Automate repeatable deployments of GCP resources across development, staging, and production environments
  • Manage GCP resources alongside application code, enabling infrastructure and app logic to evolve together
  • Build reusable Python modules that encapsulate common GCP architecture patterns for team standardization
  • Integrate GCP infrastructure provisioning into CI/CD pipelines for automated cloud deployments

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Pulumi resource provider for Google Cloud Platform that lets you define, deploy, and manage GCP infrastructure using Python code alongside the Pulumi CLI.

Yes, if you are already using Pulumi and need to manage GCP resources from Python. The package is actively maintained, has no known vulnerabilities, and carries a permissive license. Install friction is low. However, you must have the Pulumi CLI installed and GCP credentials configured separately—this is not a standalone GCP client library.

Install

pulumi-gcp on PyPI

pip

pip install pulumi-gcp

uv

uv add pulumi-gcp

poetry

poetry add pulumi-gcp

Installing pulumi-gcp

Before you install

Low install friction with a pure-Python wheel. Actively maintained with a release 2 days old. Requires Pulumi CLI as a prerequisite, which is a runtime dependency rather than a pip-installable one.

License in practice

Apache-2.0 permissive license allows commercial use, modification, and redistribution with minimal restrictions—standard for infrastructure tooling.

Quickstart

pip install pulumi_gcp

import pulumi
import pulumi_gcp as gcp

# Define a GCP resource using the provider
instance = gcp.compute.Instance("my-instance", ...)

Pulumi CLI must be installed separately and GCP credentials must be configured before deployment.

Verify before relying

  • Whether Pulumi CLI installation and GCP credential configuration are documented clearly enough for first-time users
  • Performance characteristics when managing large numbers of GCP resources

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 4 — parver, pulumi, semver, typing-extensions
Maintenance actively maintained — 2 days since the last release
Last repo commit
First released
Downloads 1,494,073/month — #3,839 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pulumi_gcp-9.34.1-py3-none-any.whl

Keywords: pulumi, gcp

Tags

infrastructure as code gcppulumi google cloudgcp resource providercloud infrastructure automationdeclarative gcp deploymentpulumi cloud resourcesgcp infrastructure management
infrastructure-as-codecloud-provisioninggcp

More Build Tools packages