https://github.com/pulumi/pulumi-google-native
https://github.com/pulumi/pulumi-google-native
Last synced: 26 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/pulumi/pulumi-google-native
- Owner: pulumi
- License: apache-2.0
- Created: 2020-12-22T16:39:01.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-24T05:02:44.000Z (about 2 months ago)
- Last Synced: 2025-04-27T09:29:10.712Z (about 1 month ago)
- Language: Python
- Size: 409 MB
- Stars: 74
- Watchers: 24
- Forks: 18
- Open Issues: 202
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE-OF-CONDUCT.md
Awesome Lists containing this project
README
[](https://slack.pulumi.com)
[](https://npmjs.com/package/@pulumi/google-native)
[](https://pypi.org/project/pulumi-google-native)
[](https://badge.fury.io/nu/pulumi.googlenative)
[](https://pkg.go.dev/github.com/pulumi/pulumi-google-native/sdk/go)
[](https://github.com/pulumi/pulumi-google-native/blob/master/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](https://www.pulumi.com/docs/get-started/install/).
## 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`:
```bash
npm install @pulumi/google-native
```or `yarn`:
```bash
yarn add @pulumi/google-native
```### Python
To use from Python, install using `pip`:
```bash
pip install pulumi_google_native
```### Go
To use from Go, use `go get` to grab the latest version of the library
```bash
go get github.com/pulumi/pulumi-google-native/sdk
```### .NET
To use from .NET, install using `dotnet add package`:
```bash
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](https://github.com/pulumi/pulumi-gcp). 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](https://www.pulumi.com/registry/packages/google-native/installation-configuration/#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: ` or
pass options to the constructor of a new [google-native `Provider`](https://www.pulumi.com/registry/packages/google-native/api-docs/provider/).## Building
### Dependencies
- Go 1.15
- NodeJS 10.X.X or later
- Python 3.6 or later
- .NET Core 3.1Please refer to [Contributing to Pulumi](https://github.com/pulumi/pulumi/blob/master/CONTRIBUTING.md) for installation
guidance.### Building locally
Run the following commands to install Go modules, generate all SDKs, and build the provider:
```bash
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:
```bash
cd ./exampes/simple
yarn link @pulumi/google-native
pulumi up
```