Skip to content

Feature request: add flag to control force_upload option in sam sync #8168

@adagradschool

Description

@adagradschool

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:

  1. Will this require any updates to the SAM Spec
  • This will require some documentation changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage/needs-triageAutomatically applied to new issues and PRs, indicating they haven't been looked at.type/featureFeature request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions