deploy-sam
Deploy a Serverless Application Model (SAM) managed project.
The command:
- Runs
sam build
in the working directory. - Zips and uploads the files in the output directory to S3.
- Sets the
CodeUri
to S3 for Lambdas in the project.
alto deploy-sam <stack-name> [--env <environment-name>]
Aliases: sam-deploy
Arguments
stack-name
The stack name.
Required: yes
Options
--env <environment-name>
The environment to deploy to.
Required:
- Yes, when creating a new stack.
- No, when updating an existing stack.