sparse-intern-71089
07/18/2023, 4:23 AMmodern-art-40204
07/18/2023, 4:24 AMsalmon-account-74572
07/18/2023, 4:51 PMpulumi import to import resources into a new stack (and generate corresponding code).
2. Use pulumi state delete to remove resources from state in the old stack. Update code to no longer create those resources.
3. Verify that pulumi up behaves as expected for each stack (old and new), adjust code as needed.modern-art-40204
07/19/2023, 5:09 AMsalmon-account-74572
07/19/2023, 3:25 PMpulumi stack export to get the state (in JSON), modify that, import it back in to a new stack with pulumi stack import, and then follow steps 2 and 3 from above. However, we don’t generally recommend this process.