You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/publish_v3_layer.yml
+1-1
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@ name: Deploy v3 layer to all regions
2
2
3
3
# PROCESS
4
4
#
5
-
# 1. Compile Layer using cdk-aws-lambda-powertools-layer CDK construct for Python3.8-3.12 and x86/ARM architectures (uses custom runner as it's CPU heavy)
5
+
# 1. Compile Layer using cdk-aws-lambda-powertools-layer CDK construct for Python3.8-3.12 and x86_64/ARM architectures (uses custom runner as it's CPU heavy)
6
6
# 2. Kick off pipeline for beta, prod, and canary releases
7
7
# 3. Create PR to update trunk so staged docs also point to the latest Layer ARN, when merged
8
8
# 4. Builds and publishes docs with latest Layer ARN using given version (generally coming from release)
You'll find the pre-signed URL under `Location` key as part of the CLI command output.
@@ -247,7 +247,7 @@ In this context, `[aws-sdk]` is an alias to the `boto3` package. Due to dependen
247
247
248
248
### Lambda Layer
249
249
250
-
[Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html){target="_blank"} is a .zip file archive that can contain additional code, pre-packaged dependencies, data, or configuration files. We compile and optimize [all dependencies](#install) for Python versions from **3.8 to 3.12**, as well as for both **arm64 and x86** architectures, to ensure compatibility. We also remove duplicate dependencies [already available in the Lambda runtime](https://github.com/aws-powertools/powertools-lambda-layer-cdk/blob/d24716744f7d1f37617b4998c992c4c067e19e64/layer/Python/Dockerfile#L36){target="_blank"} to achieve the most optimal size.
250
+
[Lambda Layer](https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html){target="_blank"} is a .zip file archive that can contain additional code, pre-packaged dependencies, data, or configuration files. We compile and optimize [all dependencies](#install) for Python versions from **3.8 to 3.12**, as well as for both **arm64 and x86_64** architectures, to ensure compatibility. We also remove duplicate dependencies [already available in the Lambda runtime](https://github.com/aws-powertools/powertools-lambda-layer-cdk/blob/d24716744f7d1f37617b4998c992c4c067e19e64/layer/Python/Dockerfile#L36){target="_blank"} to achieve the most optimal size.
251
251
252
252
=== "x86_64"
253
253
--8<-- "docs/includes/_layer_homepage_x86.md"
@@ -260,7 +260,7 @@ In this context, `[aws-sdk]` is an alias to the `boto3` package. Due to dependen
260
260
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.
261
261
262
262
```bash title="AWS CLI command to download Lambda Layer content"
@@ -489,7 +489,7 @@ Knowing which companies are using this library is important to help prioritize t
489
489
490
490
<!-- markdownlint-disable MD051 -->
491
491
492
-
When [using Layers](#lambda-layer), you can add Powertools for AWS Lambda (Python) as a dev dependency to not impact the development process. For Layers, we pre-package all dependencies, compile and optimize for storage and both x86 and ARM architecture.
492
+
When [using Layers](#lambda-layer), you can add Powertools for AWS Lambda (Python) as a dev dependency to not impact the development process. For Layers, we pre-package all dependencies, compile and optimize for storage and both x86_64 and ARM architecture.
Copy file name to clipboardExpand all lines: docs/roadmap.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -248,7 +248,7 @@ AWS Lambda will officially block updates to Lambda functions using Python 3.7 su
248
248
249
249
We want to publish a JSON with a map of region and Lambda Layer ARN as a GitHub Release Note asset.
250
250
251
-
As of V2, we prioritize Lambda Layers being available before release notes are out. This is due to X86 and ARM64 compilation for smaller binaries and extra speed.
251
+
As of V2, we prioritize Lambda Layers being available before release notes are out. This is due to x86_64 and ARM64 compilation for smaller binaries and extra speed.
252
252
253
253
This means we have room to include a JSON map for Lambda Layers and facilitate automation for customers wanting the latest version as soon as it's available.
Copy file name to clipboardExpand all lines: examples/homepage/install/x86_64/amplify.txt
+2-2
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
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-x86:1
9
+
? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:1
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-x86:1
20
+
? Enter up to 5 existing Lambda layer ARNs (comma-separated): arn:aws:lambda:eu-central-1:017000801446:layer:AWSLambdaPowertoolsPythonV3-python312-x86_64:1
21
21
? Do you want to edit the local lambda function now? No
0 commit comments