Skip to content

Commit aff310b

Browse files
Fixed invalid architectures reference in the SAM snippet (#1) (#464)
Lambda functions don't list an `aarch64` architecture as a valid option for the `Architectures` list in the serverless function SAM resource definition. This should instead be `arm64`. Valid architectures can be found here: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-resource-function.html#sam-function-architectures
1 parent 7c4032c commit aff310b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Resources:
138138
Type: AWS::Serverless::Function
139139
Properties:
140140
MemorySize: 128
141-
Architectures: ["aarch64"]
141+
Architectures: ["arm64"]
142142
Handler: bootstrap
143143
Runtime: provided.al2
144144
Timeout: 5

0 commit comments

Comments
 (0)