GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — chore(ci): layer docs update (#7354) · dap0am/powertools-lambda-python@3808bd2

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • CHANGELOG.md
  • docs
    • includes
      • _layer_homepage_arm64.md
      • _layer_homepage_x86.md
    • index.md
  • examples
    • build_recipes
      • cdk
        • basic
          • app.py
        • multi-stack/stacks
          • powertools_cdk_stack.py
      • sam
        • multi-env
          • template.yaml
        • with-layers
          • template.yaml
    • homepage/install
      • arm64
        • amplify.txt
        • cdk_arm64.py
        • pulumi_arm64.py
        • sam.yaml
        • serverless.yml
        • terraform.tf
      • x86_64
        • amplify.txt
        • cdk_x86.py
        • pulumi_x86.py
        • sam.yaml
        • serverless.yml
        • terraform.tf
    • logger/sam
      • template.yaml
    • metrics_datadog/sam
      • template.yaml
    • metrics/sam
      • template.yaml
    • tracer/sam
      • template.yaml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎CHANGELOG.md‎

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

‎docs/includes/_layer_homepage_arm64.md‎

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

‎docs/includes/_layer_homepage_x86.md‎

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

‎docs/index.md‎

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 numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ You can install Powertools for AWS Lambda (Python) using your favorite dependenc
206206
You can use AWS CLI to generate a pre-signed URL to download the contents of our Lambda Layer.
207207

208208
```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
210210
```
211211

212212
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
335335
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.
336336

337337
```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
339339
```
340340

341341
#### SAR
Collapse file

‎examples/build_recipes/cdk/basic/app.py‎

Copy file name to clipboardExpand all lines: examples/build_recipes/cdk/basic/app.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
2424
powertools_layer = _lambda.LayerVersion.from_layer_version_arn(
2525
self,
2626
"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",
2828
)
2929

3030
# Lambda Function
Collapse file

‎examples/build_recipes/cdk/multi-stack/stacks/powertools_cdk_stack.py‎

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 numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def _create_powertools_layer(self) -> _lambda.ILayerVersion:
4747
return _lambda.LayerVersion.from_layer_version_arn(
4848
self,
4949
"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",
5151
)
5252

5353
def _create_dynamodb_table(self) -> dynamodb.Table:
Collapse file

‎examples/build_recipes/sam/multi-env/template.yaml‎

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 numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Resources:
6161
CodeUri: src/
6262
Handler: app.lambda_handler
6363
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
6565
- !Ref DependenciesLayer
6666
Events:
6767
ApiEvent:
Collapse file

‎examples/build_recipes/sam/with-layers/template.yaml‎

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 numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Resources:
3131
CodeUri: src/app/
3232
Handler: app_sam_layer.lambda_handler
3333
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
3535
- !Ref DependenciesLayer
3636
Events:
3737
ApiEvent:
@@ -50,7 +50,7 @@ Resources:
5050
CodeUri: src/worker/
5151
Handler: worker_sam_layer.lambda_handler
5252
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
5454
- !Ref DependenciesLayer
5555
Events:
5656
SQSEvent:
Collapse file

‎examples/homepage/install/arm64/amplify.txt‎

Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/amplify.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
? Do you want to configure advanced settings? Yes
77
...
88
? 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
1010
❯ amplify push -y
1111

1212

@@ -17,5 +17,5 @@ General information
1717
- Name: <NAME-OF-FUNCTION>
1818
? Which setting do you want to update? Lambda layers configuration
1919
? 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
2121
? Do you want to edit the local lambda function now? No
Collapse file

‎examples/homepage/install/arm64/cdk_arm64.py‎

Copy file name to clipboardExpand all lines: examples/homepage/install/arm64/cdk_arm64.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def __init__(self, scope: Construct, construct_id: str, **kwargs) -> None:
99
powertools_layer = aws_lambda.LayerVersion.from_layer_version_arn(
1010
self,
1111
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",
1313
)
1414
aws_lambda.Function(
1515
self,

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.