Fork me on GitHub

Deploying code

After creating your Pulumi program, you will want to deploy it.

Deploying your program will create, update, or delete the associated cloud resources needed to run it.

The first time you spin up a stack – an isolated instance of your Pulumi program – all of these resources will be created for the first time. Each stack has its own configuration and resources.

From that point onward, any edits to your program result in the minimal incremental changes to your resources.

Before deploying, you will need to configure your machine to access your cloud provider of choice. In general, Pulumi just uses standard client configuration. Please see the following instructions for details: AWS, Azure, Google Cloud, OpenStack, or Kubernetes.


Next, let’s preview a deployment before actually performing it.

4/8