Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
GCP Instance
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Create a GCP instance using Pulumi + Go.
Running the App
Create a new stack:
$ pulumi stack init gcp-instanceConfigure the project:
$ pulumi config set gcp:project YOURGOOGLECLOUDPROJECT $ pulumi config set gcp:zone us-central1-aRun
pulumi upto preview and deploy changes:$ pulumi up Previewing update (gcp-instance): ... Updating (gcp-instance): Type Name Status + pulumi:pulumi:Stack gcp-instance created + └─ gcp:compute:Instance instance created Outputs: instanceName: "instance-6beb431" Resources: + 2 created Duration: 23sCleanup
$ pulumi destroy $ pulumi stack rm
Viewing docs for Google Cloud v9.15.0
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
