I want to move from having an implicit provider fo...
# general
m
I want to move from having an implicit provider for AWS resources to an explicit provider. Is there any trick I can use to avoid having to recreate basically everything?
a
i think you're problem is similar to the one i'm facing that i mentioned above. what i've found so far is that there isn't a built-in way to deal with this, but it's been suggested that you can do a
pulumi stack export >export.json
, manually change the provider's
urn
in
export.json
and then
pulumi stack import <export.json
. i haven't tried it yet (very new to pulumi), but found references to the export/import pattern in github issues, e.g., https://github.com/pulumi/pulumi/issues/10710
m
Thanks! Thought it might be thisway
This way worked, not too painful, just needed to take a lock on being the only person messing with this stack 🙂