sparse-intern-71089
05/19/2021, 6:52 AMlittle-cartoon-10569
05/19/2021, 8:37 PMlittle-cartoon-10569
05/19/2021, 8:46 PMpulumi stack output --file x.json
).
2. Comment / flag out all the resources that will be changing, so that you create all their parents correctly without importing anything.
3. Comment / flag out the original resources and remove them from state (pulumi state delete
).
4. Run pulumi import --parent ...
to import the resources to the correct place.
5. Comment / flag in the new code for the resources, making it look like the code that Pulumi generated.
6. Tidy up old commented / flagged-out code.
7. pulumi preview
to check everything in state matches.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by