File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,8 @@ This example shows how to use Lambda Adapter to run an express.js application on
7
7
We add Lambda Adapter layer to the function and configure wrapper script.
8
8
9
9
1 . attach Lambda Adapter layer to your function. This layer containers Lambda Adapter binary and a wrapper script.
10
- 1 . x86_64: ` arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:1 `
11
- 2 . arm64: ` arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:1 `
10
+ 1 . x86_64: ` arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerX86:2 `
11
+ 2 . arm64: ` arn:aws:lambda:${AWS::Region}:753240598075:layer:LambdaAdapterLayerArm64:2 `
12
12
2 . configure Lambda environment variable ` AWS_LAMBDA_EXEC_WRAPPER ` to ` /opt/bootstrap ` . This is a wrapper script included in the layer.
13
13
3 . set function handler to a startup command: ` run.sh ` . The wrapper script will execute this command to boot up your application.
14
14
You can’t perform that action at this time.
0 commit comments