This message was deleted.
# general
s
This message was deleted.
r
To clarify that: the diff for the provider is actually showing something: It's showing that the previous value of the `kubeconfig`is now possibly changing i.e. it says it will be replaced with
output<string>
b
i get this quite often with the azure AKS changes
pulumi preview --diff > diff
and see what the changes are
i've manually patched my state file a few times in the last few months it works ok
with AKS it was a matter of changing agentProfile: {} to agentProfiles: [{}]
kubeConfig and stuff becoming output<string> is usually a side effect of the thing causing the change not the actual cause IME
output<string> in the diff means it doesnt know what the value will be until it starts
another cause i had was that the service principal metadata that owns a cluster changed
r
Thanks, @better-rainbow-14549. I don't know though what to patch in the state file regarding the EKS cluster because every output the
kubeconfig
property depends on is unchanged seemingly. I tried to set different values and in the exported stack and re-importing it, but the behaviour stays the same 😞
b
:S
g
@rapid-eye-32575 I had a (possibly) similar error yesterday with pulumi attempting to replace a resource that has not really changed and the diff being not very useful. With the help of @white-balloon-205 I was able to see what has changed by installing
curl -L <https://get.pulumi.com/> | bash -s -- --version 0.17.23
. This is a very new pulumi version that shows more complete diffs.
r
Thanks for the advice @glamorous-printer-66548. I just tried it with
0.17.23
and the output is different for some unrelated CloudFront resources. However, the preview details look the same regarding the Kubernetes provider.