Hi, I’m using Pulumi with AWS (and python but shou...
# general
a
Hi, I’m using Pulumi with AWS (and python but shouldn’t matter) and what I’m seeing is - • Create resource with pulumi • Go to AWS console delete the resource • Re-run “pulumi up” but noticed the deleted resource does not get recreated. <-- is this expected behavior?
s
I'm reasonably certain this would be expected behavior for
pulumi destroy
, but I didn't think
pulumi up
worked the same way. Making some internal inquiries now.
a
Thank you, Just putting this info here if needed pulumi v.3.99.0, pulumi-aws=6.15.0
s
OK, this is expected behavior. You'll need to run
pulumi refresh
first, or use
pulumi up --refresh
to address this sort of situation.
a
Thank you!
s
There's also a project configuration option that allows you to set this behavior to happen automatically. See here: https://www.pulumi.com/docs/concepts/projects/project-file/#example-project-file-with-all-possible-attributes
a
Great, will take a look, thanks again
s
No problem, happy to help!