https://pulumi.com logo
#general
Title
# general
i

important-football-63662

05/02/2020, 10:07 PM
Hello. If I create a VM and its associated disk and network resources with Pulumi, then manually delete the VM outside of Pulumi, shouldn't the VM get created on the next pulumi up (but not the associated resources)? I'm seeing it take no action.
c

colossal-room-15708

05/02/2020, 10:18 PM
You need to run
pulumi refresh
first
i

important-football-63662

05/02/2020, 10:31 PM
Just realized that a few minutes after more searching. Wasn't obvious from some of the walkthroughs but maybe I missed it. Thanks
It almost seems intuitive that pulumi up would refresh the state first on its own internally
c

colossal-room-15708

05/03/2020, 3:58 AM
Terraform does, pulumi decided not to. You can run
pulumi up --refresh