aws / aws/aws-sam-cli

Provide a way (flag, samconfig.toml, etc.) to disable new version checking

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

Description

### Describe your idea/feature/enhancement
I'd like to be able to disable checking for new versions. I'm running sam in a network isolated environment and every now and then builds will have a big traceback in them because sam couldn't reach pypi.

Provide a clear description. Ex. I wish SAM CLI would [...]

### Proposal

Add a global flag to disable version checking. Something like `--disable-version-check`.

Things to consider:
1. Will this require any updates to the [SAM Spec](https://github.com/awslabs/serverless-application-model)
I don't think so.

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.