aws / aws/aws-sam-cli

build and then deploy with: sam deploy -b

Open
#3,586 2 comments 3 reactions 0 assignees View on GitHub
type/feature
Dominant language
Python
Stars
6.7k
Forks
1.2k
Avg merge
1d 10h
Merged PRs (30d)
52

Description

### Describe your idea/feature/enhancement

I wish SAM could: be run with `sam deploy -b [...]` so that it can `build` and then immediately deploy once successful.

### Proposal

add an option to the `sam deploy` command which allows `sam` to `build` before deploying. This could be `-b` which is currently unused.

### Additional Details

I often need to run `sam build && sam deploy` and this could be made simpler by `sam deploy -b` which does a build then deploy.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.