Skip to content

Pulumi

brew install pulumi/tap/pulumi
pip install pulumi

GCPâš‘

Set projectâš‘

Set project:

gcloud config set project <YOUR_GCP_PROJECT_ID
gcloud auth application-default login

# check the project
gcloud config get-value project 

# if you want use another backend state, for example gcp
pulumi login gs://[your-gs-bucket]
  • Pulumi.yaml defines the project.
  • Pulumi.dev.yaml contains configuration values for the stack you initialized.
  • __main__.py is the Pulumi program that defines your stack resources.

Deploy stackâš‘

pulumi up
This command evaluates your program and determines the resource updates to make. First, a preview is shown that outlines the changes that will be made when you run the update


Last update: 2024-10-23
Created: 2024-10-23