glamorous-printer-66548
07/22/2019, 8:04 PM{
"urn": "urn:pulumi:my-stack::my-stack::pulumi:providers:kubernetes::my-cluster",
...
"inputs": {
"kubeconfig": "...",
"namespace": "my-namespace"
}
...
}
and after the upgrade pulumi wants to converge to this state:
{
"urn": "urn:pulumi:my-stack::my-stack::pulumi:providers:kubernetes::my-cluster",
...
"inputs": {
"kubeconfig": "...",
"namespace": "my-namespace"
},
"outputs": {
"kubeconfig": "...",
"namespace": "my-namespace"
}
...
},
As you can see after the upgrade suddenly an "outputs" section that wasn't there before is being added. Because it didn't exist before pulumi attempts to do a replacement.
I can workaround the issue by copying the "inputs" and pasting them as "outputs" and importing the fixed state.json which I did for a few stacks but since we have almost 100 stacks this is not a scalable solution.
Is this a known issue and is there a better solution to the problem?
I can btw reproduce this problem quite consistently (my machine, other machines, CI).