https://pulumi.com logo
#golang
Title
# golang
a

average-plastic-1763

03/16/2021, 2:31 PM
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

lemon-agent-27707

03/16/2021, 9:50 PM
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

average-plastic-1763

03/17/2021, 3:26 PM
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?
3 Views