it's not quite that simple, but you could do:
- remove code from operations project and remove the stuff from the state, so that pulumi no longer wants to destroy it
- import it into the new consul project using the import flag
a
astonishing-quill-88807
04/02/2021, 5:31 PM
So I was able to export the stack state, modify the stack and project names in the resource URNs, then import the state into the new stack. After that when I ran an
up
it ran cleanly and then I did a force removal of the old stack and removed the old code.