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

melodic-car-16900

03/08/2022, 8:58 PM
Copy code
--expect-no-changes                     Return an error if any changes occur during this update
is somewhat ambiguous
w

witty-candle-66007

03/08/2022, 9:00 PM
I believe it’s supposed to stop processing if changes are detected. I just tested this and it does not seem to be the case.
e

echoing-dinner-19531

03/08/2022, 9:17 PM
It's only really useful on
pulumi preview
it simply adds a check at the end of the engine operations to see if any changes we're done (or proposed for preview)
If you want to ensure operations really don't happen you want to use the new update plans feature
m

melodic-car-16900

03/08/2022, 9:53 PM
Ok, interesting
that's definitely not what I thought was happening
e

echoing-dinner-19531

03/08/2022, 10:13 PM
Yeh I think we should either improve the wording of this option, or change it to actually error out before any change. Changing it sounds better but there might be things depending on this current behaviour.
m

melodic-car-16900

03/08/2022, 10:29 PM
yeah, obviously my opinion doesn't count for much here, but I'd vote to deprecate it and then promote something using your new plans feature with a log message 🤷‍♂️
4 Views