sls deploy
Deploy a Serverless service
Subcommands
Options
Name | Description |
---|---|
--conceal | Hide secrets from the output (e.g. API Gateway key values) |
--package, -p <package> | Path of the deployment package |
--verbose, -v <production> | Show all stack events during deployment |
--force | Forces a deployment to take place |
--function, -f <function> | Name of the function |
--aws-s3-accelerate | Enables S3 Transfer Acceleration making uploading artifacts much faster |
--region, -r <region> | Region of the service |
--aws-profile <profile name> | AWS profile to use with the command |
--app <app> | Dashboard app |
--org <org> | Dashboard org |
--use-local-credentials | Rely on locally resolved AWS credentials instead of loading them from Dashboard provider settings (applies only to services integrated with Dashboard) |
--config, -c <.yml file> | Path to serverless config file |
--stage, -s <stage> | Stage of the service |
--help, -h | Show help |
--version | Show version info |