Sam Hulick
07/30/2021, 7:09 PMstart process? just manually delete the debug stack?Jay
sst remove will remove the entire app plus the debug stack.Sam Hulick
07/30/2021, 7:17 PMsst remove debug-stack to cleanly remove the debug stack, I take it. EDIT: nope, that doesn’t workJay
Sam Hulick
07/30/2021, 7:22 PMSam Hulick
07/30/2021, 7:22 PMyarn start also seems to have modified the main stack too. not sure what it did.Frank
sst start also replaces the Lambda functions in your stack with a stub Lambda that proxies the request to your local.Frank
Sam Hulick
07/30/2021, 7:55 PMFrank
sst deploy will deploy the latest Lambdas and infrastructureSam Hulick
07/30/2021, 8:15 PMSam Hulick
07/30/2021, 8:15 PMSam Hulick
07/30/2021, 8:29 PMyarn start --stage devname
2. work on stuff
3. yarn deploy
4. test all changes on dev stack
5. yarn deploy --stage prod
sorry for all the questions. 😅 just trying to get a handle on this before we jump in with both feet and use this on a major projectJay
Jay
yarn deploy will default to the stage listed in your sst.json if you don’t pass in a stage. I think you meant yarn deploy --stage devname in this case?Jay
Sam Hulick
07/30/2021, 8:38 PMyarn deploy --stage staging . in other words, devs work locally w/ start on their own stacks.. and then all of their changes are deployed to staging stage where (for example) QA can test. and then finally yarn deploy --stage prod to release everyone’s workSam Hulick
07/30/2021, 8:40 PMyarn deploy --stage devname after running start --stage devname. it’s the same code they were just working on. would there be a good reason for them to deploy to their own private stack? (maybe for others to test.. though the API Gateway URLs are public to everyone already, even if running in local mode)Jay
Sam Hulick
07/30/2021, 8:55 PMFrank
--debug-stack flag to sst remove in v1.2.13. You can run sst remove --debug-stack to remove just the debug stack.Frank
Jay
Jay
Sam Hulick
05/31/2022, 8:25 PMJay