Justin
08/06/2021, 6:17 AMAshishkumar Pandey
08/06/2021, 7:10 AMnpx sst deploy
the following happens:
1. your codebase is transpiled and linted, during transpilation esbuild is used to bundle the source for your lambdas.
2. the cdk bootstrap is run to deploy a debug stack to aid in live lambda development.
3. An s3 bucket is automatically created for you which houses your debug stack’s bundled source code.
4. Your app’s bundled source code and auto-generated cfn templates are then uploaded to s3 and ecr (not sure about it) and to other services.
5. Cfn then starts the deployment of stacks and creates all resources that you had defined.