I've written a project that will create and manage...
# general
e
I've written a project that will create and manage some ECR instances in multiple regions. Someone already manually created some of them, but I'd like my pulumi stack to manage those instances now. How can I import existing things into my stack?
g
Currently no builtin commands to import existing resources, but this is something we're actively working on.
I believe this is achievable by manually adding the existing resources to your stack's state and re-importing it. Somewhat tedious but doable.
You'll need to add to your state and code so the next
up
doesn't immediately delete the resources.
I just tested this with a VPC and it works. 🙂
e
Yup, got it to work, thanks
👍 1
g
https://github.com/pulumi/pulumi/issues/1635 is the issue for built-in import support