This message was deleted.
# azure
s
This message was deleted.
c
You should update your code to match what you have changed in Azure Portal and then do a refresh, or make the change after the refresh but you must make the code changes to match the portal before you run another stack update. Doing a refresh does not mutate your code. It only mutates your stack's checkpoint with values read from Azure.
m
Is there way to get the code changes based on stack change.
I can get the diff of the stack but it's JSON based
changes like node count can apply
but subnet changes not
when run pulumi up, it's trying to delete old subnet , which is failing
c
I vaguely remember there being an issue with the subnets property specifically after a refresh with regards to AKS. Try searching the issues in the
pulumi/pulumi
repo for it. There should be a workaround specified there.
m
oki, cool, thanks @clever-sunset-76585, I will check and update. 👍
👌 1