Hi all, I'm trying to update plugin versions for a...
# golang
a
Hi all, I'm trying to update plugin versions for a go based pulumi program, but when updating the plugin dependencies and building the go binary, then executing
pulumi preview
, it still goes to download the older versions of the plugins that were used for the stack before. Is there anything else I need to do to update the stack to use the newer plugin versions?
l
Pulumi stores the provider version in your state file so this is where the older version is probably coming from. Have you tried manually installing the plugin in your machine?
pulumi plugin install resorce <providerName> vX.Y.Z
pulumi plugin install resource aws v3.33.0
a
I tried manually installing the plugins but it still goes to install the old plugins when executing
pulumi preview
. Is there a way to tell
pulumi
that I want to update a provider resource so that it updates the version in the state file?