06/19/2021, 12:58 AM
Hey guys. I'm new to pulumi, so probably messed up somewhere. I'm trying to use the latest pulumi-aws version because some role names have changed, but pulumi seems to insist on getting a specific old version. Any idea what I might be doing wrong?


06/21/2021, 1:38 PM
if you have previously `pulumi up`'ed using the old version of the provider, that version will get stored somewhere in your state file. when you later try to
pulumi up
with the new version (even if you manually install the new version) it will still install the old provider. i'm not entirely sure what it needs both for but i think it uses the old version for the diff or something like that. once that transition
pulumi up
that uses both providers succeeds, it should save the new version of the provider in your state file, and from then on only use the 1 version of the provider you actually use