sparse-intern-71089
04/27/2023, 2:16 PMrough-morning-53309
04/27/2023, 5:52 PMsalmon-account-74572
04/27/2023, 5:56 PMbored-branch-92019
04/28/2023, 3:20 AMinfra
project which includes all three of the different projects that Zephyr has in the third post (I wish these had come out before we started 😅 ). I would like to break it into a bunch of different projects with exactly the thinking laid out in the blog hoping this will speed up deployments.salmon-account-74572
04/28/2023, 2:22 PMpulumi import
to import resources into a new project.
2. Massage the code generated by pulumi import
(as needed) and run pulumi up
to ensure the code matches the resources generated (i.e., it should say no changes).
3. Use pulumi state delete
to remove the resources imported in step 1 from the original project. Adjust the code accordingly and run pulumi up
to ensure the code matches the resources (i.e., it should say no changes).
4. Repeat steps 1 through 3 as needed.
The unsupported way involves using pulumi stack export
, manually editing the state file, and then pulumi state import
with the edited file into a new project. There be dragons here, so be careful!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