https://pulumi.com logo
#general
Title
# general
f

fancy-shoe-18611

08/02/2022, 6:13 PM
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

steep-toddler-94095

08/02/2022, 7:47 PM
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

fancy-shoe-18611

08/03/2022, 12:30 AM
Thanks!
2 Views