Deploy the Changes

Now let’s deploy our changes.

$ pulumi up

Pulumi computes the minimally disruptive change to achieve the desired state described by the program.

$ pulumi up
Previewing update (dev):
     Type                   Name               Plan       Info
     pulumi:pulumi:Stack    quickstart-dev
 ~   └─ gcp:storage:Bucket  my-bucket          update     [diff: ~labels]

Outputs:
  ~ bucketName: "gs://my-bucket-d8d30a1" => output<string>

Resources:
    ~ 1 to update
    1 unchanged

Do you want to perform this update?  [Use arrows to move, enter to select, type to filter]
  yes
> no
  details

Pulumi will create two new resources, and then update the previously created bucket with the new encryption settings we defined.

Choosing yes will proceed with the update.

Do you want to perform this update? yes
Updating (dev):
     Type                   Name               Status      Info
     pulumi:pulumi:Stack    quickstart-dev
 ~   └─ gcp:storage:Bucket  my-bucket          updated     [diff: ~labels]

Outputs:
    bucketName: "gs://my-bucket-d8d30a1"

Resources:
    ~ 1 updated
    1 unchanged

Duration: 4s

Next, we’ll destroy the stack.