I’m using `pulumi/actions@v3` and am getting an er...
# general
f
I’m using
pulumi/actions@v3
and am getting an error
no resource plugin 'pulumi-resource-aws' found in the workspace at v5.4.0 or on your $PATH, install the pluging using 'pulumi plugin install resource aws v5.4.0
I am able to resolve this locally but dont yet know how to get the plugin installed in the action
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!