Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
129 commits
Select commit Hold shift + click to select a range
9a13aa2
Merge pull request #4601 from jfuss/fix-master-4462
mndeveci Jan 21, 2023
c681067
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Jan 24, 2023
3748f12
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Feb 2, 2023
da6e906
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Feb 8, 2023
916db74
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Feb 22, 2023
e59d907
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Feb 27, 2023
a2a4540
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Mar 2, 2023
e00e543
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Mar 20, 2023
6d4e229
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Mar 23, 2023
31521f4
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Apr 7, 2023
356ed63
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Apr 17, 2023
6c45ed9
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Apr 20, 2023
c3ce941
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Apr 27, 2023
129ac47
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot May 9, 2023
4395ecb
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot May 16, 2023
25de017
fix: fix the hardcoded number of stages printed in logs. (#5210)
moelasmar May 26, 2023
694ad59
feat: Linking Authorizers to Lambda functions using the invocation UR…
lucashuy May 27, 2023
f60e59f
chore(deps-dev): bump parameterized from 0.8.1 to 0.9.0 in /requireme…
dependabot[bot] May 29, 2023
8065613
chore(deps-dev): bump filelock from 3.10.7 to 3.12.0 in /requirements…
dependabot[bot] May 29, 2023
4185d83
chore(deps): bump attrs from 22.2.0 to 23.1.0 in /requirements (#5212)
dependabot[bot] May 29, 2023
6f137dc
feat: update SAM CLI with latest App Templates commit hash (#5211)
github-actions[bot] May 29, 2023
dc5562a
fix: fix failing Terraform integration test cases (#5218)
moelasmar May 30, 2023
888cb45
chore: bump version to 1.85.0 (#5226)
moelasmar May 30, 2023
08a9e2f
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot May 30, 2023
acc0acd
chore: use the SAR Application created in testing accounts (#5221)
moelasmar May 30, 2023
f23dc23
chore: update aws_lambda_builders to 1.32.0 (#5215)
github-actions[bot] May 30, 2023
2e79b50
feat: Added linking Gateway Method to Lambda Authorizer (#5228)
lucashuy May 31, 2023
ec942e9
feat: Return early during linking if no destination resources are fou…
lucashuy May 31, 2023
81b3a71
chore: Strengthen wording on "no Auth" during deploy (#5231)
jfuss May 31, 2023
d517ece
feat: Link Lambda Authorizer to Rest API (#5219)
lucashuy May 31, 2023
4580ddd
feat: updating app templates repo hash with (9ee7db342025a42023882960…
github-actions[bot] Jun 1, 2023
6ba11c6
fix: handle edge cases with function sync flow in sam sync command (#…
mndeveci Jun 1, 2023
5954042
chore: Upgrade Mac installer to Py3.11 (#5223)
jfuss Jun 2, 2023
243bf33
feat: updating app templates repo hash with (66f4a230d1c939a0c3f7b564…
github-actions[bot] Jun 2, 2023
1293026
Revert "chore: Upgrade Mac installer to Py3.11 (#5223)" (#5252)
hawflau Jun 2, 2023
b51d661
fix: add 3.11 to classifiers and upgrade Docker (#5225)
sriram-mv Jun 2, 2023
c5ce5c7
fix: fix build and deploy SAR integration test cases (#5244)
moelasmar Jun 2, 2023
912633d
chore(deps): bump markupsafe from 2.1.2 to 2.1.3 in /requirements (#5…
dependabot[bot] Jun 5, 2023
0c4ba78
chore(deps): bump pydantic from 1.10.7 to 1.10.8 in /requirements (#5…
dependabot[bot] Jun 5, 2023
dd1adb1
feat: Add click command for cloud invoke command (#5238)
hnnasit Jun 5, 2023
2cf358f
chore(deps-dev): bump boto3-stubs[apigateway,cloudformation,ecr,iam,l…
dependabot[bot] Jun 5, 2023
7cc06f4
pin pytest-metadata to avoid its breaking change (#5261)
hawflau Jun 5, 2023
4de9c90
chore: update aws_lambda_builders to 1.33.0 (#5262)
github-actions[bot] Jun 5, 2023
c9f8b81
chore: Add python3.11 to canaries (#5263)
mildaniel Jun 5, 2023
fe41c4c
Artifact export for GraphQLApi (#5250)
ssenchenko Jun 5, 2023
49c0bc9
chore: bump version to 1.86.0 (#5266)
mndeveci Jun 5, 2023
f4ba4e9
fix: add constant str for enums to support deepcopy operation (#5265)
mndeveci Jun 6, 2023
c6f1ad1
Merge from aws/aws-sam-cli/develop
aws-sam-cli-bot Jun 6, 2023
deb212b
update automated updates gha to force restart of status checks (#5269)
hawflau Jun 6, 2023
789268f
integration tests for graphql resource package (#5271)
ssenchenko Jun 6, 2023
7242c8b
Revert "fix: add 3.11 to classifiers and upgrade Docker (#5225)"
mndeveci Jun 6, 2023
90fe721
chore: bump version to 1.86.1
mndeveci Jun 6, 2023
6a5ef9f
Merge pull request #5276 from aws/docker_revert_patch
mndeveci Jun 7, 2023
8f2f524
Merge pull request #5277 from aws/docker_revert_patch
mndeveci Jun 7, 2023
369aa72
chore: Upgrade Docker-py/ Support Py3.11 for running tests (#5279)
jfuss Jun 7, 2023
c908844
test: GHA to Execute Test without Docker Running (#5290)
mildaniel Jun 8, 2023
50f6cfa
fix: remove ruby3.2 from preview runtimes (#5296)
mndeveci Jun 8, 2023
6cb2a69
Fix: Force docker version to match 4.2's default version (#5305)
jfuss Jun 8, 2023
8111efc
chore: cleanup appveyor definitions for not running jobs which is alr…
mndeveci Jun 8, 2023
60f1882
fix: Fix failing tests on Python3.11 (#5317)
mildaniel Jun 9, 2023
6ea5d5e
Merge pull request #5318 from aws/develop
mndeveci Jun 9, 2023
bdc8198
chore(deps): bump cryptography from 39.0.2 to 41.0.0 in /requirements…
dependabot[bot] Jun 9, 2023
5be690c
add sleep between close and reopen (#5320)
hawflau Jun 9, 2023
1d9ad5a
GraphQLApi support for `sam deploy` (#5294)
ssenchenko Jun 9, 2023
433de09
fix: Update Arn parsing logic and fix some edge cases/bug fixes for r…
hnnasit Jun 9, 2023
14dfa2e
chore: update aws_lambda_builders to 1.34.0 (#5343)
github-actions[bot] Jun 12, 2023
5764024
test: test building npm and Typescript projects using external manife…
moelasmar Jun 12, 2023
927191c
chore(deps-dev): bump ruff from 0.0.261 to 0.0.272 in /requirements (…
dependabot[bot] Jun 12, 2023
e8a4614
chore(deps-dev): bump pytest-cov from 4.0.0 to 4.1.0 in /requirements…
dependabot[bot] Jun 12, 2023
4061d6e
feat: add lambda streaming support for remote invoke (#5307)
mndeveci Jun 13, 2023
b9b9412
chore: bump version to 1.87.0
mndeveci Jun 13, 2023
2ec3af8
Merge pull request #5357 from aws/bump_version
mndeveci Jun 13, 2023
2dc6390
Revert app templates gha (#5356)
hawflau Jun 13, 2023
77d2b95
refactor: make remote invoke reactive to display results as soon as t…
mndeveci Jun 14, 2023
fd09a41
refactor init_clients in sam delete (#5360)
hawflau Jun 14, 2023
7803782
chore: update aws-sam-translator to 1.69.0 (#5370)
github-actions[bot] Jun 16, 2023
04c498a
feat: sam remote invoke help text and UX fixes (#5366)
hnnasit Jun 16, 2023
d70864e
chore: temporary pin python version to 3.7.16 (#5384)
moelasmar Jun 19, 2023
269b86e
Updated cfn-lint to support ruby3.2 in validate (#5375)
lucashuy Jun 20, 2023
ccb3f7f
Remove unneeded test cases (#5374)
hawflau Jun 20, 2023
0033b78
feat: updating app templates repo hash with (67f28fd83477e0e15b394f99…
github-actions[bot] Jun 20, 2023
887411f
test: Integration tests for remote invoke on regular lambda functions…
hnnasit Jun 21, 2023
f43c705
feat: Make remote invoke command available (#5381)
hnnasit Jun 21, 2023
48f6b71
test: Remote invoke integration tests for response stream configured …
hnnasit Jun 21, 2023
32792c0
chore: bump version to 1.88.0 (#5393)
hnnasit Jun 21, 2023
94adeeb
chore: fix issues with appveyor ubuntu setup #5395
mndeveci Jun 21, 2023
cfacdf5
chore: remove deprecated runtime dotnetcore3.1 (#5091)
moelasmar Jun 21, 2023
97104ea
fix(invoke): Write in UTF-8 string instead of bytes. (#5232)
jfuss Jun 21, 2023
7b7c54c
Revert "fix(invoke): Write in UTF-8 string instead of bytes. (#5232)"…
jfuss Jun 22, 2023
49fe592
Add sanity check script and use it in pyinstaller GHA (#5400)
hawflau Jun 22, 2023
4e2509b
chore: update aws-sam-translator to 1.70.0 (#5402)
github-actions[bot] Jun 23, 2023
af26ea2
Version bump to 1.89.0 (#5420)
mildaniel Jun 26, 2023
8aa1008
chore(docs): updated readme with additional resources (#5349)
sliedig Jun 26, 2023
18ba6ed
chore(deps): bump actions/setup-go from 3 to 4 (#5418)
dependabot[bot] Jun 27, 2023
00b262d
chore(deps-dev): bump filelock from 3.12.0 to 3.12.2 in /requirements…
dependabot[bot] Jun 27, 2023
663c88d
feat: updating app templates repo hash with (bb905c379830c3d8edbc196b…
github-actions[bot] Jun 27, 2023
9a71591
fix: add a table for package help text. (#5298)
sriram-mv Jun 28, 2023
743d389
fix: Handle BROKEN_PIPE_ERROR (#5386)
lucashuy Jun 28, 2023
3952ff6
fix: remove circular dependency by moving parse_s3 method to its own …
mndeveci Jun 29, 2023
46f7e1f
chore(deps): bump sympy from 1.10.1 to 1.12 in /requirements (#5338)
dependabot[bot] Jun 29, 2023
30336bc
chore(deps): bump websocket-client from 1.5.1 to 1.6.1 in /requiremen…
dependabot[bot] Jun 29, 2023
4336c77
chore(deps): bump ruamel-yaml from 0.17.21 to 0.17.32 in /requirement…
dependabot[bot] Jun 29, 2023
359e43b
Updated package formatter to import package options instead of deploy…
hnnasit Jun 30, 2023
5e8df69
chore(deps): bump importlib-metadata in /requirements (#5437)
dependabot[bot] Jul 3, 2023
9877db2
feat: `sam logs` help text (#5397)
sriram-mv Jul 3, 2023
c53db02
feat: enable terraform support for local start-api command (#5389)
moelasmar Jul 3, 2023
6c9939e
Updated warning message about missing function in template (#5347)
lucashuy Jul 3, 2023
ed93c2a
chore(deps-dev): bump types-pywin32 in /requirements (#5436)
dependabot[bot] Jul 3, 2023
acb4627
chore: use latest python version (#5439)
moelasmar Jul 4, 2023
2c9a939
chore: remove the CDK SAM CLI integration testing and depend on the s…
moelasmar Jul 4, 2023
025357d
chore: use amazon ecr credential helper in windows appveyor (#5446)
moelasmar Jul 5, 2023
b6b4e39
chore: bump version to 1.90.0 (#5448)
moelasmar Jul 5, 2023
3603e12
fix: Handler path mapping for layer-wrapped esbuild functions (#5450)
mildaniel Jul 5, 2023
cee2d3d
fix: fix macos reproducable task and gh actions (#5455)
mndeveci Jul 6, 2023
16a1740
feat(sync): support build-image option (#5441)
elvishp2006 Jul 6, 2023
58faff0
fix: Avoid Certain Depedendency Version (#5460)
mildaniel Jul 7, 2023
068b7e2
feat: Abstract SamConfig (#5208)
Leo10Gama Jun 2, 2023
badc262
feat: Add YAML config file option (#5253)
Leo10Gama Jun 3, 2023
99c6a1e
feat: Add JSON config file option (#5264)
Leo10Gama Jun 6, 2023
40ddb56
chore: Refactor TomlProvider to ConfigProvider (#5273)
Leo10Gama Jun 7, 2023
6c9ebc3
feat: Add hierarchy for samconfig filetypes (#5297)
Leo10Gama Jun 8, 2023
127fe82
feat: Track config file extension (#5315)
Leo10Gama Jun 13, 2023
5a0d377
feat: Add and fix samconfig integration tests (#5371)
Leo10Gama Jun 20, 2023
ec9a675
feat: Fix message when no config file is found (#5394)
Leo10Gama Jun 21, 2023
24ddca1
chore: Rebase config project to develop (#5406)
Leo10Gama Jun 23, 2023
d6c91a4
Disable JSON file extension support (#5426)
Leo10Gama Jun 29, 2023
6cb6f25
feat: Repair and refine tests (#5431)
Leo10Gama Jun 29, 2023
56f986d
Merge branch 'feat/config-files' of github.com:aws/aws-sam-cli into r…
lucashuy Jul 7, 2023
390f008
Fixed merge error
lucashuy Jul 7, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/automated-updates-to-sam-cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- uses: actions/setup-python@v4 # used for make update-reproducible-reqs below
with:
python-version: |
3.7
3.8
3.11

- name: Update aws-sam-translator & commit
Expand Down Expand Up @@ -132,7 +132,7 @@ jobs:
- uses: actions/setup-python@v4 # used for make update-reproducible-reqs below
with:
python-version: |
3.7
3.8
3.11

- name: Upgrade aws_lambda_builders & commit
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate_pyinstaller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Build PyInstaller
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
with:
python-version: "3.7"
- name: Set up Go
uses: actions/setup-go@v3
uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Build PyInstaller
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,11 @@ tests/integration/testdata/buildcmd/Dotnet6/obj
tests/integration/testdata/buildcmd/Dotnet7/bin
tests/integration/testdata/buildcmd/Dotnet7/obj
tests/integration/testdata/invoke/credential_tests/inprocess/dotnet/STS/obj
tests/integration/testdata/sync/code/after/dotnet_function/src/HelloWorld/obj/
tests/integration/testdata/sync/code/before/dotnet_function/src/HelloWorld/obj/

# End of https://www.gitignore.io/api/osx,node,macos,linux,python,windows,pycharm,intellij,sublimetext,visualstudiocode

# Installer build folder
.build

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ update-reproducible-linux-reqs:
venv-update-reproducible-linux/bin/pip-compile --generate-hashes --allow-unsafe -o requirements/reproducible-linux.txt

update-reproducible-mac-reqs:
python3.7 -m venv venv-update-reproducible-mac
python3.8 -m venv venv-update-reproducible-mac
venv-update-reproducible-mac/bin/pip install --upgrade pip-tools pip
venv-update-reproducible-mac/bin/pip install -r requirements/base.txt
venv-update-reproducible-mac/bin/pip-compile --generate-hashes --allow-unsafe -o requirements/reproducible-mac.txt
Expand Down
49 changes: 23 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
[Installation](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html) | [Blogs](https://serverlessland.com/blog?tag=AWS%20SAM) | [Videos](https://serverlessland.com/video?tag=AWS%20SAM) | [AWS Docs](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/what-is-sam.html) | [Roadmap](https://github.com/aws/aws-sam-cli/wiki/SAM-CLI-Roadmap) | [Try It Out](https://s12d.com/jKo46elk) | [Slack Us](https://join.slack.com/t/awsdevelopers/shared_invite/zt-yryddays-C9fkWrmguDv0h2EEDzCqvw)

The AWS Serverless Application Model (SAM) CLI is an open-source CLI tool that helps you develop serverless applications containing [Lambda functions](https://aws.amazon.com/lambda/), [Step Functions](https://aws.amazon.com/step-functions/), [API Gateway](https://aws.amazon.com/api-gateway/), [EventBridge](https://aws.amazon.com/eventbridge/), [SQS](https://aws.amazon.com/sqs/), [SNS](https://aws.amazon.com/sns/) and more. Some of the features it provides are:
- **Initialize serverless applications** in minutes with AWS-provided infrastructure templates with `sam init`
- **Compile, build, and package** Lambda functions with provided runtimes and with custom Makefile workflows, for zip and image types of Lambda functions with `sam build`
- **Locally test** a Lambda function and API Gateway easily in a Docker container with `sam local` commands on SAM and CDK applications
- **Sync and test your changes in the cloud** with `sam sync` in your developer environments
- **Deploy** your SAM and CloudFormation templates using `sam deploy`
- Quickly **create pipelines** with prebuilt templates with popular CI/CD systems using `sam pipeline init`
- **Tail CloudWatch logs and X-Ray traces** with `sam logs` and `sam traces`

* **Initialize serverless applications** in minutes with AWS-provided infrastructure templates with `sam init`
* **Compile, build, and package** Lambda functions with provided runtimes and with custom Makefile workflows, for zip and image types of Lambda functions with `sam build`
* **Locally test** a Lambda function and API Gateway easily in a Docker container with `sam local` commands on SAM and CDK applications
* **Sync and test your changes in the cloud** with `sam sync` in your developer environments
* **Deploy** your SAM and CloudFormation templates using `sam deploy`
* Quickly **create pipelines** with prebuilt templates with popular CI/CD systems using `sam pipeline init`
* **Tail CloudWatch logs and X-Ray traces** with `sam logs` and `sam traces`

## Recent blogposts and workshops

Expand All @@ -28,53 +28,51 @@ The AWS Serverless Application Model (SAM) CLI is an open-source CLI tool that h

* **Speed up development with SAM Accelerate** - quickly test your changes in the cloud. [Read docs here](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/accelerate.html).

* **AWS Serverless Developer Experience Workshop: A day in a life of a developer** - [This advanced workshop](https://s12d.com/aws-sde-workshop) provides you with an immersive experience as a serverless developer, with hands-on experience building a serverless solution using AWS SAM and SAM CLI.

* **The Complete SAM Workshop**- [This workshop](https://s12d.com/jKo46elk) is a great way to experience the power of SAM and SAM CLI.

* **Getting started with CI/CD? SAM pipelines can help you get started** - [This workshop](https://s12d.com/_JQ48d5T) walks you through the basics.

* **Get started with Serverless Application development using SAM CLI** - [This workshop](https://s12d.com/Tq9ZE-Br) walks you through the basics.


## Get Started

To get started with building SAM-based applications, use the SAM CLI. SAM CLI provides a Lambda-like execution
To get started with building SAM-based applications, use the SAM CLI. SAM CLI provides a Lambda-like execution
environment that lets you locally build, test, debug, and deploy [AWS serverless](https://aws.amazon.com/serverless/) applications.

* [Install SAM CLI](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install.html)
* [Build & Deploy a "Hello World" Web App](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-quick-start.html)
* [Install AWS Toolkit](https://aws.amazon.com/getting-started/tools-sdks/#IDE_and_IDE_Toolkits) to use SAM with your favorite IDEs
* [Tutorials and Workshops](https://serverlessland.com/learn)
* [Powertools for AWS Lambda](https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-lambda-powertools/) Utilities for building Lambda functions in [Python](https://awslabs.github.io/aws-lambda-powertools-python/latest/), [Java](https://github.com/awslabs/aws-lambda-powertools-java), and [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript)

* **Powertools for AWS Lambda** is a developer toolkit to implement Serverless best practices and increase developer velocity. Available for [Python](https://awslabs.github.io/aws-lambda-powertools-python), [Java](https://github.com/awslabs/aws-lambda-powertools-java), [TypeScript](https://github.com/awslabs/aws-lambda-powertools-typescript) and [.NET](https://github.com/awslabs/aws-lambda-powertools-dotnet).

**Next Steps:** Learn to build a more complex serverless application.

* [Extract text from images and store it in a database](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-s3.html) using Amazon S3 and Amazon Rekognition services.
* [Detect when records are added to a database](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-example-ddb.html) using Amazon DynamoDB database and asynchronous stream processing.
* [Explore popular patterns](https://serverlessland.com/patterns)


## What is this Github repository? 💻

This Github repository contains source code for SAM CLI. Here is the development team talking about this code:

> SAM CLI code is written in Python. Source code is well documented, very modular, with 95% unit test coverage.
> SAM CLI code is written in Python. Source code is well documented, very modular, with 95% unit test coverage.
It uses this awesome Python library called Click to manage the command line interaction and uses Docker to run Lambda functions locally.
We think you'll like the code base. Clone it and run `make pr` or `./Make -pr` on Windows!


## Related Repositories and Resources

+ **SAM Transform** [Open source template specification](https://github.com/aws/serverless-application-model/) that provides shorthand syntax for CloudFormation
+ **SAM CLI application templates** Get started quickly with [predefined application templates](https://github.com/aws/aws-sam-cli-app-templates/blob/master/README.md) for all supported runtimes and languages, used by `sam init`
+ **Lambda Builders** [Lambda builder tools](https://github.com/aws/aws-lambda-builders) for supported runtimes and custom build workflows, used by `sam build`
+ **Build and local emulation images for CI/CD tools** [Build container images](https://gallery.ecr.aws/sam/) to use with CI/CD tasks

* **SAM Transform** [Open source template specification](https://github.com/aws/serverless-application-model/) that provides shorthand syntax for CloudFormation
* **SAM CLI application templates** Get started quickly with [predefined application templates](https://github.com/aws/aws-sam-cli-app-templates/blob/master/README.md) for all supported runtimes and languages, used by `sam init`
* **Lambda Builders** [Lambda builder tools](https://github.com/aws/aws-lambda-builders) for supported runtimes and custom build workflows, used by `sam build`
* **Build and local emulation images for CI/CD tools** [Build container images](https://gallery.ecr.aws/sam/) to use with CI/CD tasks

## Contribute to SAM

We love our contributors ❤️ We have over 100 contributors who have built various parts of the product.
We love our contributors ❤️ We have over 100 contributors who have built various parts of the product.
Read this [testimonial from @ndobryanskyy](https://www.lohika.com/aws-sam-my-exciting-first-open-source-experience/) to learn
more about what it was like contributing to SAM.
more about what it was like contributing to SAM.

Depending on your interest and skill, you can help build the different parts of the SAM project;

Expand All @@ -84,21 +82,20 @@ Make pull requests, report bugs, and share ideas to improve the full SAM templat
Source code is located on Github at [aws/serverless-application-model](https://github.com/aws/serverless-application-model).
Read the [SAM Specification Contributing Guide](https://github.com/aws/serverless-application-model/blob/master/CONTRIBUTING.md)
to get started.

**Strengthen SAM CLI**

Add new commands, enhance existing ones, report bugs, or request new features for the SAM CLI.
Source code is located on Github at [aws/aws-sam-cli](https://github.com/aws/aws-sam-cli). Read the [SAM CLI Contributing Guide](https://github.com/aws/aws-sam-cli/blob/develop/CONTRIBUTING.md) to
get started.
get started.

**Update SAM Developer Guide**

[SAM Developer Guide](https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/index.html) provides a comprehensive getting started guide and reference documentation.
Source code is located on Github at [awsdocs/aws-sam-developer-guide](https://github.com/awsdocs/aws-sam-developer-guide).
Read the [SAM Documentation Contribution Guide](https://github.com/awsdocs/aws-sam-developer-guide/blob/master/CONTRIBUTING.md) to get
started.

started.

### Join the SAM Community on Slack

[Join the SAM developers channel (#samdev)](https://join.slack.com/t/awsdevelopers/shared_invite/zt-yryddays-C9fkWrmguDv0h2EEDzCqvw) on Slack to collaborate with fellow community members and the AWS SAM team.
[Join the SAM developers channel (#samdev)](https://join.slack.com/t/awsdevelopers/shared_invite/zt-yryddays-C9fkWrmguDv0h2EEDzCqvw) on Slack to collaborate with fellow community members and the AWS SAM team.
105 changes: 0 additions & 105 deletions appveyor-iac-integration-ubuntu.yml

This file was deleted.

23 changes: 22 additions & 1 deletion appveyor-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,28 @@ install:
# Echo final Path
- "echo %PATH%"

- "IF DEFINED BY_CANARY ECHO Logging in Public ECR && aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws"
# use amazon-ecr-credential-helper
- choco install amazon-ecr-credential-helper
- ps: "
$docker_config = Get-Content $env:HOME/.docker/config.json -raw | ConvertFrom-Json;
$docker_config.credsStore = 'ecr-login';
$docker_config | ConvertTo-Json | set-content $env:HOME/.docker/config.json;
"
- ps: "get-content $env:HOME/.docker/config.json"

# claim some disk space before starting the tests
- "docker system prune -a -f"
# activate virtual environment
- "venv\\Scripts\\activate"



# claim some disk space before starting the tests
- "docker system prune -a -f"
# activate virtual environment
- "venv\\Scripts\\activate"



# claim some disk space before starting the tests
- "docker system prune -a -f"
Expand Down
4 changes: 4 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ filterwarnings =
error
ignore::DeprecationWarning:docker
default::ResourceWarning
; The following deprecation warnings are treated as failures unless we explicitly tell pytest not to
; Remove once we no longer support python3.7
ignore::boto3.exceptions.PythonDeprecationWarning

9 changes: 6 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
chevron~=0.12
click~=8.0
# 8.1.4 of Click has an issue with the typing breaking the linter - https://github.com/pallets/click/issues/2558
click~=8.0,!=8.1.4
Flask<2.3
#Need to add latest lambda changes which will return invoke mode details
boto3>=1.26.109,==1.*
jmespath~=1.0.1
ruamel_yaml~=0.17.21
ruamel_yaml~=0.17.32
PyYAML>=5.4.1,==5.*
cookiecutter~=2.1.1
aws-sam-translator==1.69.0
aws-sam-translator==1.71.0
#docker minor version updates can include breaking changes. Auto update micro version only.
docker~=6.1.0
dateparser~=1.1
Expand All @@ -18,6 +19,8 @@ tomlkit==0.11.8
watchdog==2.1.2
rich~=13.3.3
pyopenssl~=23.2.0
# Pin to <4.18 to until SAM-T no longer uses RefResolver
jsonschema<4.18

# Needed for supporting Protocol in Python 3.7, Protocol class became public with python3.8
typing_extensions~=4.4.0
Expand Down
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pytest-cov==4.1.0
# here we fix its version and upgrade it manually in the future
mypy==1.3.0
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray]==1.26.131
types-pywin32==306.0.0.0
types-pywin32==306.0.0.2
types-PyYAML==6.0.12
types-chevron==0.14.2.4
types-psutil==5.9.5.12
Expand All @@ -33,7 +33,7 @@ pytest-rerunfailures==11.1.2
# NOTE (hawflau): DO NOT upgrade pytest-metadata and pytest-json-report unless pytest-json-report addresses https://github.com/numirias/pytest-json-report/issues/89
pytest-metadata==2.0.4
pytest-json-report==1.5.0
filelock==3.12.0
filelock==3.12.2

# formatter
black==22.6.0
Expand Down
Loading