PulumiCrossCloud.Gcp
0.1.1-alpha.20260703085317
dotnet add package PulumiCrossCloud.Gcp --version 0.1.1-alpha.20260703085317
NuGet\Install-Package PulumiCrossCloud.Gcp -Version 0.1.1-alpha.20260703085317
<PackageReference Include="PulumiCrossCloud.Gcp" Version="0.1.1-alpha.20260703085317" />
<PackageVersion Include="PulumiCrossCloud.Gcp" Version="0.1.1-alpha.20260703085317" />
<PackageReference Include="PulumiCrossCloud.Gcp" />
paket add PulumiCrossCloud.Gcp --version 0.1.1-alpha.20260703085317
#r "nuget: PulumiCrossCloud.Gcp, 0.1.1-alpha.20260703085317"
#:package PulumiCrossCloud.Gcp@0.1.1-alpha.20260703085317
#addin nuget:?package=PulumiCrossCloud.Gcp&version=0.1.1-alpha.20260703085317&prerelease
#tool nuget:?package=PulumiCrossCloud.Gcp&version=0.1.1-alpha.20260703085317&prerelease
PulumiCrossCloud.Gcp
This project provides GCP (Google Cloud Platform) resource implementations for the PulumiCrossCloud library, enabling cloud-agnostic infrastructure as code using Pulumi and .NET.
Getting Started: Setting Up GCP for Pulumi
If you've never used GCP before, follow these steps to set up authentication and permissions for Pulumi deployments:
1. Create a Google Cloud Project
- Go to Google Cloud Console
- Click the project dropdown (top left) and select "New Project"
- Give your project a name and click "Create"
2. Create a Service Account
- Go to IAM & Admin > Service Accounts
- Click "Create Service Account"
- Name it (e.g.,
pulumi-admin) - Click "Create and Continue"
- Grant these roles:
- Owner (for full admin access, recommended for initial setup)
- Or, for least privilege, add:
- Cloud Run Admin
- Artifact Registry Admin
- Secret Manager Admin
- Service Account Admin
- Click "Done"
3. Create and Download a Service Account Key
- In the Service Accounts list, click your new account
- Go to the Keys tab
- Click "Add Key" > "Create new key"
- Choose JSON and click "Create"
- Download the JSON file and save it securely (e.g., as
gcp-pulumi-key.json)
4. Set Up Authentication for Pulumi
- Install the Google Cloud SDK (optional, for CLI access)
- Set the environment variable for Pulumi:
export GOOGLE_APPLICATION_CREDENTIALS=/path/to/gcp-pulumi-key.json - Or, configure Pulumi directly in your stack config:
config: gcp:project: <your-project-id> gcp:region: <your-region> gcp:credentials: /path/to/gcp-pulumi-key.json
5. Install .NET and Pulumi CLI
6. Run the Sample
- Navigate to the sample project:
cd samples/PulumiCrossCloud.Samples.Gcp pulumi up
Troubleshooting
- Make sure your service account has the correct roles and the key file path is correct.
- If you see permission errors, check IAM roles and API enablement.
- For more details, see Pulumi GCP Provider Docs
Resources
PulumiCrossCloud makes it easy to deploy the same infrastructure code to AWS, Azure, or GCP. Just switch the factory and run your stack!
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Google.Apis.Auth (>= 1.75.0)
- Google.Apis.CloudRun.v1 (>= 1.75.0.4187)
- Google.Cloud.SecretManager.V1 (>= 2.7.0)
- OpenTelemetry.Api (>= 1.16.0)
- OpenTelemetry.Exporter.OpenTelemetryProtocol (>= 1.16.0)
- Pulumi.Gcp (>= 9.29.0)
- Pulumi.Random (>= 4.21.0)
- PulumiCrossCloud.Core (>= 0.1.1-alpha.20260703085317)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PulumiCrossCloud.Gcp:
| Package | Downloads |
|---|---|
|
PulumiCrossCloud
Meta-package that installs the full PulumiCrossCloud package set. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.1-alpha.20260703085317 | 68 | 7/3/2026 |
| 0.1.1-alpha.20260703084517 | 57 | 7/3/2026 |
| 0.1.0-alpha.alpha... | 56 | 7/3/2026 |
| 0.1.0-alpha.alpha... | 57 | 7/3/2026 |
| 0.1.0-alpha.20260703083554 | 61 | 7/3/2026 |