https://pulumi.com logo
s

square-coat-62279

12/14/2021, 11:28 AM
is
Copy code
pulumi preview -r && pulumi up -y --diff
same as
Copy code
pulumi up -y --diff -r
? What's the implication if we run pulumi up without --refresh?
q

quiet-wolf-18467

12/14/2021, 12:42 PM
--refresh
tells Pulumi to check if the resources under control have been modified outside of the Pulumi execution.
If you don’t do a
--refresh
and someone has modified a resource via the UI, Pulumi may not notice the change
s

square-coat-62279

12/14/2021, 1:30 PM
thanks!