You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So, in theory this plugin could offer a command like serverless split-stacks migrate --resource=ResourceName --target=StackName but no work has been done on anything like that. It would be fairly complex, you would need to:
resolve any fn::imports that refer to that resources, substitute them with static hard coded values (e.g. ARN of something)
set retention policy on the resource to keep
remove the resources from the current stack and update the stack
import the resource in to the new stack, exporting it like before, if that was the case
update previous fn::imports that were temporarily hard-coded, to now import again
In other words, it would involve coordinating numerous, iterative updates to multiple stacks and nobody has tackled this AFAIK!
If I adjust an existing
stacks-map.js
this way, I need recreating my stack?My stacks-map.js looks like this
I may not recreate my stack! :(
The text was updated successfully, but these errors were encountered: