This message was deleted.
# general
s
This message was deleted.
w
or do I have to manually modify the stack in this case somehow?
b
hmmm maybe you need to import them from within your new component resource? It's a bit weird when they're coming from the same stack though I suspect at some point in that transition they will be flagged for deletion because the dependency tree will have changed
w
exactly, and that is my question. Is it possible to make that type of change without the deletion?
b
Well the parent property is just an URN, right? You could manually modify the state file and just update the parent property of those resources. But short of that I don't think there is a clean way to do this.
w
That was what I was thinking as well @bored-oyster-3147, but it feels like that approach is quite sensitive to errors.
b
Or you could make a second stack, and start with your component resource, and import the resources from the original stack into the new stack under the component resource
w
that was also an approach that crossed my mind... No need to do it now, but I see that might be something I want to do down the road.