Tyler Flint
03/29/2021, 9:51 PMFrank
serverless.yml
filePål Brattberg
03/29/2021, 9:59 PMsst deploy
will only deploy your sst-defined stack so you need to use a combination with sls deploy
as well. I did it like that, moving definition of a few functions at a time, and now I have ~80% of my functions and infra in SSTPål Brattberg
03/29/2021, 10:00 PMTyler Flint
03/29/2021, 10:03 PMPål Brattberg
03/29/2021, 10:03 PMTyler Flint
03/29/2021, 10:04 PMPål Brattberg
03/29/2021, 10:05 PMsst start
, you need to run sst deploy
if you want to redirect execution back to AWS. start
will redirect traffic to your local machine and deploy
will set it back.
So don't run sst start
with your production account!Tyler Flint
03/29/2021, 10:05 PMTyler Flint
03/29/2021, 10:06 PMTyler Flint
03/29/2021, 10:06 PMFrank
serverless.yml
and one for sst.json
Tyler Flint
03/29/2021, 10:08 PMTyler Flint
03/29/2021, 10:09 PMTyler Flint
03/29/2021, 10:10 PMFrank
Frank
Tyler Flint
03/29/2021, 10:17 PM