This message was deleted.
# general
s
This message was deleted.
s
this is a known issue with pulumi cli in general https://github.com/pulumi/pulumi/issues/5725 the only way i've been able to reliably resolve it is to modify the statefile. I've found that the providers that this error shows up for does not have inputs/outputs versions, e.g. it's missing
Copy code
...
                "type": "pulumi:providers:aws",
                "inputs": {
                    "version": "5.9.2",
                    ...
                },
                "outputs": {
                    "version": "5.9.2",
                    ...
                },
                ...
what I do is i run
pulumi stack export > state.json
, add the inputs/outputs to the version in the error message, and then run
pulumi stack import --file state.json
f
Thanks!