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

dazzling-scientist-80826

10/05/2018, 11:54 PM
pulumi update
is finally successful again, but i’ll admit, i have zero confidence that this snapshot file matches reality 😛
🤞 1
b

big-piano-35669

10/06/2018, 12:27 AM
Am curious if
pulumi refresh
turns out to be helpful here for reconciling against reality.
d

dazzling-scientist-80826

10/06/2018, 12:30 AM
it’s not clear to me when to use that or what it does…
w

white-balloon-205

10/06/2018, 12:35 AM
Here’s what the docs say - definitely interested in whether those answer the what/when question for you - if not, opportunity to improve!
This command compares the current stack’s resource state with the state known to exist in the actual cloud provider. Any such changes are adopted into the current stack. Note that if the program text isn’t updated accordingly, subsequent updates may still appear to be out of synch with respect to the cloud provider’s source of truth.
https://pulumi.io/reference/cli/pulumi_refresh.html
b

big-piano-35669

10/06/2018, 12:37 AM
It would be interesting to just run it and look at the preview. It should just synchronize anything that doesn't match reality (giving you a preview of those diffs first).