GeezerVison is showing github.com — chore(ci): layer docs update (#7354) · dap0am/powertools-lambda-python@3808bd2
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-124Lines changed: 7 additions & 124 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_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 |
|---|
@@ -206,7 +206,7 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc | 206 | 206 | You can use AWS CLI to generate a pre-signed URL to download the contents of our Lambda Layer. | 207 | 207 |
| 208 | 208 | ```bash title="AWS CLI command to download Lambda Layer content" | 209 | | - aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:22 --region eu-west-1 | | 209 | + aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:23 --region eu-west-1 | 210 | 210 | ``` | 211 | 211 |
| 212 | 212 | You'll find the pre-signed URL under `Location` key as part of the CLI command output. | @@ -335,7 +335,7 @@ In this context, `[aws-sdk]` is an alias to the `boto3` package. Due to dependen | 335 | 335 | 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. | 336 | 336 |
| 337 | 337 | ```bash title="AWS CLI command to download Lambda Layer content" | 338 | | -aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:22 --region eu-west-1 | | 338 | +aws lambda get-layer-version-by-arn --arn arn:aws:lambda:eu-west-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:23 --region eu-west-1 | 339 | 339 | ``` | 340 | 340 |
| 341 | 341 | #### SAR | |
Collapse file Copy file name to clipboardExpand all lines: examples/build_recipes/cdk/basic/app.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None: | 24 | 24 | powertools_layer = _lambda.LayerVersion.from_layer_version_arn( | 25 | 25 | self, | 26 | 26 | "PowertoolsLayer", | 27 | | - layer_version_arn="arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:1", | | 27 | + layer_version_arn="arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:23", | 28 | 28 | ) | 29 | 29 |
| 30 | 30 | # Lambda Function | |
Collapse file Copy file name to clipboardExpand all lines: examples/build_recipes/cdk/multi-stack/stacks/powertools_cdk_stack.py +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -47,7 +47,7 @@ def _create_powertools_layer(self) -> _lambda.ILayerVersion: | 47 | 47 | return _lambda.LayerVersion.from_layer_version_arn( | 48 | 48 | self, | 49 | 49 | "PowertoolsLayer", | 50 | | - layer_version_arn="arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:1", | | 50 | + layer_version_arn="arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:23", | 51 | 51 | ) | 52 | 52 |
| 53 | 53 | def _create_dynamodb_table(self) -> dynamodb.Table: | |
Collapse file Copy file name to clipboardExpand all lines: examples/build_recipes/sam/multi-env/template.yaml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -61,7 +61,7 @@ Resources: | 61 | 61 | CodeUri: src/ | 62 | 62 | Handler: app.lambda_handler | 63 | 63 | Layers: | 64 | | - - arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:1 | | 64 | + - arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:23 | 65 | 65 | - !Ref DependenciesLayer | 66 | 66 | Events: | 67 | 67 | ApiEvent: | |
Collapse file Copy file name to clipboardExpand all lines: examples/build_recipes/sam/with-layers/template.yaml +2-2Lines changed: 2 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -31,7 +31,7 @@ Resources: | 31 | 31 | CodeUri: src/app/ | 32 | 32 | Handler: app_sam_layer.lambda_handler | 33 | 33 | Layers: | 34 | | - - arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:21 | | 34 | + - arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:23 | 35 | 35 | - !Ref DependenciesLayer | 36 | 36 | Events: | 37 | 37 | ApiEvent: | @@ -50,7 +50,7 @@ Resources: | 50 | 50 | CodeUri: src/worker/ | 51 | 51 | Handler: worker_sam_layer.lambda_handler | 52 | 52 | Layers: | 53 | | - - arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:21 | | 53 | + - arn:aws:lambda:us-east-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python313-x86_64:23 | 54 | 54 | - !Ref DependenciesLayer | 55 | 55 | Events: | 56 | 56 | SQSEvent: | |
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:22 | | 9 | +? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:23 | 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:22 | | 20 | +? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:23 | 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 |
|---|
@@ -9,7 +9,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None: | 9 | 9 | powertools_layer = aws_lambda.LayerVersion.from_layer_version_arn( | 10 | 10 | self, | 11 | 11 | id="lambda-powertools", | 12 | | - layer_version_arn=f"arn:aws:lambda:{Aws.REGION}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:22", | | 12 | + layer_version_arn=f"arn:aws:lambda:{Aws.REGION}:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-arm64:23", | 13 | 13 | ) | 14 | 14 | aws_lambda.Function( | 15 | 15 | self, | |
|