PulumiCrossCloud.Gcp 0.1.1-alpha.20260703085317

This is a prerelease version of PulumiCrossCloud.Gcp.
dotnet add package PulumiCrossCloud.Gcp --version 0.1.1-alpha.20260703085317
                    
NuGet\Install-Package PulumiCrossCloud.Gcp -Version 0.1.1-alpha.20260703085317
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="PulumiCrossCloud.Gcp" Version="0.1.1-alpha.20260703085317" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PulumiCrossCloud.Gcp" Version="0.1.1-alpha.20260703085317" />
                    
Directory.Packages.props
<PackageReference Include="PulumiCrossCloud.Gcp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PulumiCrossCloud.Gcp --version 0.1.1-alpha.20260703085317
                    
#r "nuget: PulumiCrossCloud.Gcp, 0.1.1-alpha.20260703085317"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package PulumiCrossCloud.Gcp@0.1.1-alpha.20260703085317
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PulumiCrossCloud.Gcp&version=0.1.1-alpha.20260703085317&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=PulumiCrossCloud.Gcp&version=0.1.1-alpha.20260703085317&prerelease
                    
Install as a Cake Tool

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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