sparse-intern-71089
08/21/2023, 7:28 PMsalmon-account-74572
08/21/2023, 9:46 PMmanagement
project resources into the iam
project. That will add them to the state for the iam
project (stack, to be more specific) and generate code for you to add to your program. From there, you may need to adjust the code so that pulumi up
doesn’t make any changes or replacements. Once that’s done, remove the items from management
project’s state (using pulumi state delete
, as outlined in your other thread) and then delete the stack once its state is empty. (Don’t run pulumi destroy
on the original stack unless you’ve removed all the resources from state first!)rich-whale-93740
08/22/2023, 9:22 PMsalmon-account-74572
08/22/2023, 9:25 PMpulumi stack import
were recently shipped to make that functionality more robust.)