aws / aws/aws-sam-cli

Bug: `sam init --help` recommends using an archived cookiecutter

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

Description

### Description:
After running `sam init --help`, this example is an archived repo:

```
$ sam init --location git+ssh://git@github.com/aws-samples/cookiecutter-aws-sam-python.git
```

### Steps to reproduce:
Run `sam init --help`

### Expected result:
Not this repo.

Per https://github.com/aws-samples/cookiecutter-aws-sam-python#archived maybe another example repository.

### Additional environment details (Ex: Windows, Mac, Amazon Linux etc)

```
{
"version": "1.131.0",
"system": {
"python": "3.13.0",
"os": "macOS-15.1.1-x86_64-i386-64bit-Mach-O"
},
"additional_dependencies": {
"docker_engine": "Not available",
"aws_cdk": "Not available",
"terraform": "1.5.7"
},
"available_beta_feature_env_vars": [
"SAM_CLI_BETA_FEATURES",
"SAM_CLI_BETA_BUILD_PERFORMANCE",
"SAM_CLI_BETA_TERRAFORM_SUPPORT",
"SAM_CLI_BETA_RUST_CARGO_LAMBDA"
]
}```

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.