I have a non-trivial serverless (sls) stack, can I...
# sst
s
I have a non-trivial serverless (sls) stack, can I install SST to enjoy the benefits of live development? I saw ‘migration from serverless framework’ in the document, but it still needs the manual migration. For a large sls project, it sounds quite time consuming, can we get the live development benefits for the existing functions?
f
Hey @syang, yeah you can move the Lambda functions over to SST while keeping the non-Lambda resources in SLS.
Imagine you had an SNS topic with a few subscribers in your
serverless.yml
. You would still defined the topic in SLS, but remove the subscribers in the
functions
block. Then in SST, import the existing topic and add the subscribers to it.
When you get to it, here’s an example for importing an existing topic and adding subscribers to it https://docs.serverless-stack.com/constructs/Topic#importing-an-existing-topic
Let me know if that makes sense