mirror of
https://github.com/serverless/serverless.git
synced 2026-01-18 14:58:43 +00:00
In https://serverless.com/framework/docs/providers/aws/guide/deploying/ the documentation states that you can deploy to different environments / regions by passing them to the --stage or --region flags, however this doesn't work out of the box because the sample documentation / serverless.yml file hardcodes the stage & region and is not set up to use the ones passed to the CLI.
Read this on the main serverless docs site
Documentation
The Serverless Framework is a CLI tool that allows users to build & deploy auto-scaling, pay-per-execution, event-driven functions.
Write your code, configure events to trigger your functions, then deploy & run those functions to your cloud provider via the Serverless CLI.
Getting started with serverless? Start here.
Already using AWS or another cloud provider? Read on.