aws / aws/aws-sam-cli

Support cached feature for custom builds (Makefile)

Open
#2,989 4 comments 13 reactions 0 assignees View on GitHub
area/build maintainer/need-followup 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

SAM CLI should support `--cached` feature for custom builds via `Makefile`

### Proposal

Simply support the feature. Honestly I don't see technical or other reasons why this should not be possible

Things to consider:
1. Will this require any updates to the [SAM Spec](https://github.com/awslabs/serverless-application-model): No

### Additional Details

In projects with many Lambda in compiled languages (C++, C# with R2R, ...) the `build` command re-runs the build for every Lambda even without changes and valid caches.

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.