Skip to content

Commit be5f53b

Browse files
ran-isenbergRan Isenberg
andauthored
feature: aws lambda handler 7.0.0 - poetry 2 (#29)
Co-authored-by: Ran Isenberg <ran.isenberg@ranthebuilder.cloud>
1 parent 21fc5f0 commit be5f53b

File tree

11 files changed

+630
-1336
lines changed

11 files changed

+630
-1336
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Ran Isenberg
3+
Copyright (c) 2025 Ran Isenberg
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The project is based on my [AWS Lambda Cookbook template project](https://github
1919
* **Docker** - install [Docker](https://www.docker.com/). Required for the Lambda layer packaging process.
2020
* **[AWS CDK](cdk.md)** - Required for synth & deploying the AWS Cloudformation stack.
2121
* Python 3.13
22-
* [poetry](https://pypi.org/project/poetry/) - Make sure to run ``poetry config --local virtualenvs.in-project true`` so all dependencies are installed in the project '.venv' folder.
22+
* [poetry](https://pypi.org/project/poetry/) - Make sure to use poetry 2 and above and run ``poetry config --local virtualenvs.in-project true`` so all dependencies are installed in the project '.venv' folder.
2323
* For Windows based machines, use the Makefile_windows version (rename to Makefile). Default Makefile is for Mac/Linux.
2424
* Cookiecutter - install with pip/brew ``brew install cookiecutter`` or ``pip install cookiecutter``
2525
<br></br>
@@ -39,7 +39,7 @@ Follow the cookiecutter questions:
3939

4040
```
4141
cd {new repo folder}
42-
poetry shell
42+
poetry env activate
4343
make deploy
4444
```
4545

{{cookiecutter.repo_name}}/.github/workflows/main-serverless-service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ jobs:
7171
env:
7272
ENVIRONMENT: staging # Custom environment variable
7373
- name: Codecov
74-
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
74+
uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
7575
with:
7676
token: ${{ secrets.CODECOV_TOKEN }}
7777
files: ./coverage.xml

{{cookiecutter.repo_name}}/.github/workflows/pr-serverless-service.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ jobs:
9696
- name: Code coverage tests
9797
run: make coverage-tests
9898
- name: Codecov
99-
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4.6.0
99+
uses: uses: codecov/codecov-action@1e68e06f1dbfde0e4cefc87efeba9e4643565303 # v5.1.2
100100
with:
101101
token: ${{ secrets.CODECOV_TOKEN }}
102102
files: ./coverage.xml

{{cookiecutter.repo_name}}/.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ repos:
2626
exclude: "^(?!helpers/)"
2727
- repo: https://github.com/astral-sh/ruff-pre-commit
2828
# Ruff version.
29-
rev: v0.7.3
29+
rev: v0.9.1
3030
hooks:
3131
# Run the Ruff linter.
3232
- id: ruff

{{cookiecutter.repo_name}}/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2024 Ran Isenberg
3+
Copyright (c) 5 Ran Isenberg
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

{{cookiecutter.repo_name}}/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ markdown_extensions:
7676
class: mermaid
7777
format: !!python/name:pymdownx.superfences.fence_code_format
7878

79-
copyright: Copyright &copy; 2024 Ran Isenberg
79+
copyright: Copyright &copy; 2025 Ran Isenberg
8080

8181
plugins:
8282
- git-revision-date
@@ -107,7 +107,7 @@ extra:
107107
- icon: fontawesome/brands/github-alt
108108
link: https://github.com/ran-isenberg/aws-lambda-handler-cookbook
109109
- icon: fontawesome/brands/twitter
110-
link: https://twitter.com/IsenbergRan
110+
link: https://x.com/RanBuilder
111111
- icon: fontawesome/brands/linkedin
112112
link: https://www.linkedin.com/in/ranisenberg/
113113
- icon: fontawesome/brands/medium

{{cookiecutter.repo_name}}/package-lock.json

Lines changed: 4 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"dependencies": {
3-
"aws-cdk": "2.167.0"
3+
"aws-cdk": "2.175.1"
44
}
55
}

0 commit comments

Comments
 (0)