Get started with Pulumi in a free one hour introductory workshop. Register Now

Deploy the Stack

Let’s go ahead and deploy the stack:

$ pulumi up

This command instructs Pulumi to determine the resources needed to create the stack. First, a preview is shown of the changes that will be made:

Previewing update (dev):

     Type                         Name            Plan
 +   pulumi:pulumi:Stack          quickstart-dev  create
 +   ├─ azure:core:ResourceGroup  resourceGroup   create
 +   └─ azure:storage:Account     storage         create

Resources:
    + 3 to create

Do you want to perform this update?
  yes
> no
  details

Choosing yes will create resources in Azure.

Do you want to perform this update? yes
Updating (dev):

     Type                         Name            Status
 +   pulumi:pulumi:Stack          quickstart-dev  created
 +   ├─ azure:core:ResourceGroup  resourceGroup   created
 +   └─ azure:storage:Account     storage         created

Outputs:
    connectionString: "DefaultEndpointsProtocol=https;AccountName=storage1b3018e9;AccountKey=...;EndpointSuffix=core.windows.net"

Resources:
    + 3 created

Duration: 26s

The storage account’s connection string that we exported is shown as a stack output.

If you are using the Pulumi Service backend, you can follow the "View Live" link displayed in the CLI output. This will open the update in the Pulumi Console, where you can view the output and explore detailed information about your stack such as its activity, resources, and configuration.

Next, we’ll make some modifications to the program.