Skip to content

Commit 180580b

Browse files
committed
Fix runtime from v12 to v10 since v12 is not supported on edge yet
1 parent c72c169 commit 180580b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ You can also sign into AWS and go to CloudFormation and manually remove things.
164164

165165
## Updating Node.js runtime
166166

167-
Simply update [serverless.yaml](./serverless.yml) to the [latest or whatever you prefer](https://docs.aws.amazon.com/lambda/latest/dg//lambda-runtimes.html) and re-deploy: `make deploy`
167+
Simply update [serverless.yaml](./serverless.yml) to the [latest or whatever you prefer](https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/lambda-requirements-limits.html#lambda-requirements-lambda-function-configuration) and re-deploy: `make deploy`
168168

169169
## Troubleshooting
170170

serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ service: Lambda-Edge-Prerendercloud
99

1010
provider:
1111
name: aws
12-
runtime: nodejs12.x
12+
runtime: nodejs10.x
1313
region: us-east-1
1414
memorySize: 128
1515
role: LambdaEdgeRole

0 commit comments

Comments
 (0)