Skip to main content

deploy-sam

Deploy a Serverless Application Model (SAM) managed project.

The command:

  1. Runs sam build in the working directory.
  2. Zips and uploads the files in the output directory to S3.
  3. 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.

Ready to Get Started?

Get Started for Free
© 2023 Altostra, Inc.