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).No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by