https://pulumi.com logo
Title
r

red-lighter-44012

10/29/2020, 3:08 PM
I have a slight infrastructure drift, AKS. Im creating two ingress controllers in my pulumi stack. When do some unrelated updates (added output, minor changes) and pulumi up, I get
updates
on both ingress controlers: metadata and spec. What's the best way to diff the current state and the pulumi stack? Is refreshing gonna help here or how should I proceed 🙂
c

cool-fireman-90027

10/29/2020, 3:45 PM
Hi @red-lighter-44012, You would use preview to check the diff from the current state.
pulumi preview --diff
I The pulumi refresh command would be used when you make a change outside of pulumi ( like adding tags or changing something via the Azure console). That would refresh the current pulumi state with the known state that current exists in the cloud.
r

red-lighter-44012

10/29/2020, 3:58 PM
Alright, thanks. I'll play around with it