Feature request: add flag to control `force_upload` option in `sam sync`
Describe your idea/feature/enhancement
I wish sam sync command took an optional flag force_upload. Currently if I make a minute change in one resource of the cloudformation stack, then all the packages are zipped and uploaded to s3 making the local loop slow. Although there is a cache mechanism it never gets triggered because the force_upload is hardcoded to True. Doing so on a forked version helped me remove 90+s per run (20%+ faster).
Proposal
Add details of how to add this to the product.
Things to consider:
- Will this require any updates to the SAM Spec
- This will require some documentation changes.
ok
Hey @adagradschool, thanks for the suggestion and opening the issue. Our team will work on it.
Hey, just following up on this. Happy to contribute a PR for this too.
Hi @adagradschool , We welcome your contribution. Please feel free to send the PR and we will happily review and test the feature.
@vicheey been a while since there's been activity on this issue so I thought I'll pick it up. Hope that's alright