GeezerVison is showing github.com — chore(ci): layer docs update (#6346) · aks3213/powertools-lambda-python@75e2270
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: CHANGELOG.md +7-11Lines changed: 7 additions & 11 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
| 4 | 4 | <a name="unreleased"></a> | 5 | 5 | # Unreleased | 6 | 6 |
| 7 | | -## Bug Fixes | 8 | | - | 9 | | -* **idempotency:** include sk in error msgs when using composite key ([#6325](https://github.com/aws-powertools/powertools-lambda-python/issues/6325)) | 10 | | -* **metrics:** ensure proper type conversion for `DD_FLUSH_TO_LOG` env var ([#6280](https://github.com/aws-powertools/powertools-lambda-python/issues/6280)) | 11 | | - | 12 | | -## Code Refactoring | 13 | 7 |
| 14 | | -* **data_classes:** Add base class with common code ([#6297](https://github.com/aws-powertools/powertools-lambda-python/issues/6297)) | 15 | | -* **data_classes:** remove duplicated code ([#6288](https://github.com/aws-powertools/powertools-lambda-python/issues/6288)) | 16 | | -* **data_classes:** simplify nested data classes ([#6289](https://github.com/aws-powertools/powertools-lambda-python/issues/6289)) | 17 | | -* **tests:** add LambdaContext type in tests ([#6214](https://github.com/aws-powertools/powertools-lambda-python/issues/6214)) | | 8 | +<a name="v3.9.0"></a> | | 9 | +## [v3.9.0] - 2025-03-25 | | 10 | +## Maintenance | 18 | 11 |
| | 12 | +* version bump | | 13 | +* **documentation:** v2 end of support ([#6343](https://github.com/aws-powertools/powertools-lambda-python/issues/6343)) | 19 | 14 | ## Documentation | 20 | 15 |
| 21 | 16 | * **homepage:** update layer instructions link ([#6242](https://github.com/aws-powertools/powertools-lambda-python/issues/6242)) | | 6273 | 6268 | * Merge pull request [#5](https://github.com/aws-powertools/powertools-lambda-python/issues/5) from jfuss/feat/python38 | 6274 | 6269 |
| 6275 | 6270 |
| 6276 | | -[Unreleased]: https://github.com/aws-powertools/powertools-lambda-python/compare/v3.8.0...HEAD | | 6271 | +[Unreleased]: https://github.com/aws-powertools/powertools-lambda-python/compare/v3.9.0...HEAD | | 6272 | +[v3.9.0]: https://github.com/aws-powertools/powertools-lambda-python/compare/v3.8.0...v3.9.0 | 6277 | 6273 | [v3.8.0]: https://github.com/aws-powertools/powertools-lambda-python/compare/v3.7.0...v3.8.0 | 6278 | 6274 | [v3.7.0]: https://github.com/aws-powertools/powertools-lambda-python/compare/v3.6.0...v3.7.0 | 6279 | 6275 | [v3.6.0]: https://github.com/aws-powertools/powertools-lambda-python/compare/v3.5.0...v3.6.0 | |
Collapse file Copy file name to clipboardExpand all lines: docs/includes/_layer_homepage_arm64.md +155-155Lines changed: 155 additions & 155 deletions - Display the source diff
- Display the rich diff
Large diffs are not rendered by default. Collapse file Copy file name to clipboardExpand all lines: docs/includes/_layer_homepage_x86.md +160-160Lines changed: 160 additions & 160 deletions - Display the source diff
- Display the rich diff
Large diffs are not rendered by default. Collapse file Copy file name to clipboardExpand all lines: docs/index.md +2-2Lines changed: 2 additions & 2 deletions - Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|
@@ -205,7 +205,7 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc | 205 | 205 | You can use AWS CLI to generate a pre-signed URL to download the contents of our Lambda Layer. | 206 | 206 |
| 207 | 207 | ```bash title="AWS CLI command to download Lambda Layer content" | 208 | | - aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:10 --region eu-west-1 | | 208 | + aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:11 --region eu-west-1 | 209 | 209 | ``` | 210 | 210 |
| 211 | 211 | You'll find the pre-signed URL under `Location` key as part of the CLI command output. | @@ -319,7 +319,7 @@ In this context, `[aws-sdk]` is an alias to the `boto3` package. Due to dependen | 319 | 319 | The pre-signed URL to download this Lambda Layer will be within `Location` key in the CLI output. The CLI output will also contain the Powertools for AWS Lambda version it contains. | 320 | 320 |
| 321 | 321 | ```bash title="AWS CLI command to download Lambda Layer content" | 322 | | -aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:10 --region eu-west-1 | | 322 | +aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:11 --region eu-west-1 | 323 | 323 | ``` | 324 | 324 |
| 325 | 325 | #### SAR | |
Collapse file Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/amplify.txt +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
| 6 | 6 | ? Do you want to configure advanced settings? Yes | 7 | 7 | ... | 8 | 8 | ? Do you want to enable Lambda layers for this function? Yes | 9 | | -? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10 | | 9 | +? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11 | 10 | 10 | ❯ amplify push -y | 11 | 11 |
| 12 | 12 |
| @@ -17,5 +17,5 @@ General information | 17 | 17 | - Name: <NAME-OF-FUNCTION> | 18 | 18 | ? Which setting do you want to update? Lambda layers configuration | 19 | 19 | ? Do you want to enable Lambda layers for this function? Yes | 20 | | -? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10 | | 20 | +? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11 | 21 | 21 | ? Do you want to edit the local lambda function now? No |
Collapse file Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/cdk_arm64.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,7 +10,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None: | 10 | 10 | powertools_layer = aws_lambda.LayerVersion.from_layer_version_arn( | 11 | 11 | self, | 12 | 12 | id="lambda-powertools", | 13 | | - layer_version_arn=f"arn:aws:lambda:{Aws.REGION}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10", | | 13 | + layer_version_arn=f"arn:aws:lambda:{Aws.REGION}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11", | 14 | 14 | ) | 15 | 15 | aws_lambda.Function( | 16 | 16 | self, | |
Collapse file Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/pulumi_arm64.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
| 22 | 22 | pulumi.Output.concat( | 23 | 23 | "arn:aws:lambda:", | 24 | 24 | aws.get_region_output().name, | 25 | | - ":017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10", | | 25 | + ":017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11", | 26 | 26 | ), | 27 | 27 | ], | 28 | 28 | tracing_config={"mode": "Active"}, | |
Collapse file Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/sam.yaml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -9,4 +9,4 @@ Resources: | 9 | 9 | Runtime: python3.12 | 10 | 10 | Handler: app.lambda_handler | 11 | 11 | Layers: | 12 | | - - !Sub arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10 | | 12 | + - !Sub arn:aws:lambda:${AWS::Region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11 |
Collapse file Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/serverless.yml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -10,4 +10,4 @@ functions: | 10 | 10 | handler: lambda_function.lambda_handler | 11 | 11 | architecture: arm64 | 12 | 12 | layers: | 13 | | - - arn:aws:lambda:${aws:region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10 | | 13 | + - arn:aws:lambda:${aws:region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11 |
Collapse file Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/terraform.tf +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -34,7 +34,7 @@ resource "aws_lambda_function" "test_lambda" { | 34 | 34 | role = aws_iam_role.iam_for_lambda.arn | 35 | 35 | handler = "index.test" | 36 | 36 | runtime = "python3.12" | 37 | | - layers = ["arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:10"] | | 37 | + layers = ["arn:aws:lambda:{region}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:11"] | 38 | 38 | architectures = ["arm64"] | 39 | 39 |
| 40 | 40 | source_code_hash = filebase64sha256("lambda_function_payload.zip") | |
|