This message was deleted.
# general
s
This message was deleted.
b
Did you find a solution to your issue? I might be running into it
m
I am waiting for a more elegant way to export and import resources between projects. In the meantime, I've noticed that if you want to remove a resource (that another resource is not dependent on), you can comment out that code and do
pulumi up
and pulumi runtime will detect that the project needs to tear down that resource.
So, based on that, I used environment variables in node scripts to segment foundation resources from application resources. You can checkout how I did it here: https://github.com/khatm-org/khatm-infrastructure#run-commands You can trace the node scripts to see how I use a combination of
up
and
destroy
to get the behavior I want.
hope that helps @broad-gold-44713
b
@millions-microphone-64941 Thanks. I ended up with a similar setup. I was actually trying to rehydrate the ALB in another project, and that seems to be not possible. So I combined the ALB and the Service in one project and it's good.
👍 1