Skip to content

Commit b2df733

Browse files
committed
Change default architecture to arm64
1 parent 9c19cca commit b2df733

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
- Use official markdownlint github action
66
- Update default schedule filename
77
- Upgrade dependencies
8+
- Change default architecture to arm64
89

910
## v2.0.1
1011

serverless.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ useDotenv: true
1010
provider:
1111
name: aws
1212
runtime: python3.9
13+
architecture: arm64
1314
stage: ${opt:stage, "default"}
1415
region: ${opt:region, "eu-west-3"}
1516
deploymentBucket: ${env:DEPLOYMENT_BUCKET}
@@ -38,8 +39,8 @@ functions:
3839
sync:
3940
handler: datadog_lambda.handler.handler
4041
layers:
41-
- !Sub arn:aws:lambda:${AWS::Region}:464622532012:layer:Datadog-Python39:60
42-
- !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:rclone:11
42+
- !Sub arn:aws:lambda:${AWS::Region}:464622532012:layer:Datadog-Python39-ARM:62
43+
- !Sub arn:aws:lambda:${AWS::Region}:${AWS::AccountId}:layer:rclone-arm64:1
4344
timeout: 300
4445
memorySize: 512
4546
reservedConcurrency: 1

0 commit comments

Comments
 (0)