AWS CLI Package Command

Is anyone aware of how to create a separate package per region/stage?
Context: I would like to have the package step create a separate bundle for each variation of stage & region I’m deploying to.
The docs indicate I can call the package command however when running I get Command “package” not found.
This is the command I’ve tried running but with the error mentioned
serverless package -s dev -r us-east-1 -p .serverless/us-east-1 -v
serverless deploy -s dev -l -r us-east-1 -v -p .serverless/us-east-1

Any help is much appreciated!

For anyone interest, found out that this feature, although documented, is not planned for availability until the 1.12 release.

1 Like