How to migrate Pulumi stack

Pulumi is a great abstraction layer above AWS and other cloud infrastructure. It enables to quickly deploy and update your cloud. But what if you have several AWS profiles, eg: several private ones and one or more which belongs to a company? Your private one is the default and you use it to deploy … Aaaah, problems, the deployed code is not hosted under your company account 🙂 To migrate perform these steps: pulumi destroy  // destroy current stack under personal account set AWS_PROFILE=your-company-profile // define global env variable read by both Pulumi and AWS CLI pulumi up -y // create …

Continue Reading