Skip to main content

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

Project description

Slack NPM version Python version NuGet version PkgGoDev License

Native Google Cloud Pulumi Provider (developer preview)

The native Google Cloud Provider for Pulumi lets you provision Google Cloud resources in your cloud programs.

This provider uses the Google Cloud REST API directly and therefore provides full access to Google Cloud.

Warning: Google Cloud Native is available in developer preview. While upstream changes continue to be delivered, active development is paused. Breaking changes may be introduced in minor version releases.

To use this package, install the Pulumi CLI.

Installing

This package is available in many languages in the standard packaging formats.

Node.js (JavaScript/TypeScript)

To use from JavaScript or TypeScript in Node.js, install using either npm:

npm install @pulumi/google-native

or yarn:

yarn add @pulumi/google-native

Python

To use from Python, install using pip:

pip install pulumi_google_native

Go

To use from Go, use go get to grab the latest version of the library

go get github.com/pulumi/pulumi-google-native/sdk

.NET

To use from .NET, install using dotnet add package:

dotnet add package Pulumi.GoogleNative

Concepts

The native Google Cloud package provides a strongly-typed means to build cloud applications that create and interact closely with Google Cloud resources. Resources are exposed for the entire Google Cloud surface area, including (but not limited to) 'compute', 'container', 'run', 'storage', and more.

The native Google Cloud provider works directly with the Google Cloud API instead of depending on a handwritten layer as with the Google Cloud Classic Provider. This approach ensures higher quality and higher fidelity with Google Cloud.

Configuring credentials

To learn how to configure credentials refer to the Google Cloud configuration options.

When developing locally, we recommend that you install the Google Cloud SDK and then authorize access with a user account. Other configuration settings should be set either via pulumi config set google-native:<KEY> <VALUE> or pass options to the constructor of a new google-native Provider.

Building

Dependencies

  • Go 1.15
  • NodeJS 10.X.X or later
  • Python 3.6 or later
  • .NET Core 3.1

Please refer to Contributing to Pulumi for installation guidance.

Building locally

Run the following commands to install Go modules, generate all SDKs, and build the provider:

make ensure
make build

Add the bin folder to your $PATH or copy the bin/pulumi-resource-google-native file to another location in your $PATH.

Running an example

Navigate to one of the examples and run Pulumi:

cd ./exampes/simple
yarn link @pulumi/google-native
pulumi up

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_google_native-0.32.1a1704839535.tar.gz (11.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file pulumi_google_native-0.32.1a1704839535.tar.gz.

File metadata

File hashes

Hashes for pulumi_google_native-0.32.1a1704839535.tar.gz
Algorithm Hash digest
SHA256 8bea7be8e4fc2980764a12543d893695a2c891db87e15a71ed546ce7db884cea
MD5 d7cb8cb881ec46ac67fed7999d9d2a3b
BLAKE2b-256 301ea8f7d57a812d55f35a547a3210dcd055c4becd487d7af1067c8bda4ffaaf

See more details on using hashes here.

File details

Details for the file pulumi_google_native-0.32.1a1704839535-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_google_native-0.32.1a1704839535-py3-none-any.whl
Algorithm Hash digest
SHA256 0548a50d0f69ed84a40f61997ef52b96a1122c56200b613127abb5c8428f8959
MD5 9188bc1b2eba950e65a6c6ada35fcacf
BLAKE2b-256 56e402cee19effac8dcfd5e892d9a555476c44d0dcea865ab074365eee0a28a2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page