Skip to content

Commit

Permalink
docs: Default to nodejs14.x in AWS docs (#11338)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiastornros committed Aug 22, 2022
1 parent 076661f commit 9c2ebb7
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions docs/providers/aws/cli-reference/print.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ custom:

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x

functions:
hello:
Expand All @@ -67,7 +67,7 @@ custom:
bucketName: test
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
stage: dev # <-- Resolved
functions:
hello:
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/aws/events/apigateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -1467,7 +1467,7 @@ service: my-api

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
stage: dev
region: eu-west-2

Expand Down Expand Up @@ -1656,7 +1656,7 @@ Resource policies are policy documents that are used to control the invocation o
```yml
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x

apiGateway:
resourcePolicy:
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/aws/events/websocket.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ service: serverless-ws-test

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
websocketsApiName: custom-websockets-api-name
websocketsApiRouteSelectionExpression: $request.body.action # custom routes are selected by the value of the action property in the body
websocketsDescription: Custom Serverless Websockets
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/aws/guide/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ You can even set up different profiles for different accounts, which can be used
service: new-service
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
stage: dev
profile: devProfile
```
Expand Down Expand Up @@ -204,7 +204,7 @@ This example `serverless.yml` snippet will load the profile depending upon the s
service: new-service
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
profile: ${self:custom.profiles.${sls:stage}}
custom:
profiles:
Expand Down
14 changes: 7 additions & 7 deletions docs/providers/aws/guide/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ service: myService

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
memorySize: 512 # optional, in MB, default is 1024
timeout: 10 # optional, in seconds, default is 6
versionFunctions: false # optional, default is true
Expand Down Expand Up @@ -60,7 +60,7 @@ service: myService

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x

functions:
functionOne:
Expand All @@ -80,7 +80,7 @@ service: myService

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
memorySize: 512 # will be inherited by all functions

functions:
Expand All @@ -96,7 +96,7 @@ service: myService

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x

functions:
functionOne:
Expand Down Expand Up @@ -132,7 +132,7 @@ service: myService

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
iam:
role:
statements: # permissions for all of your functions can be set here
Expand Down Expand Up @@ -631,7 +631,7 @@ service: service

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x

functions:
hello:
Expand Down Expand Up @@ -684,7 +684,7 @@ service: myService

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
tracing:
lambda: true
```
Expand Down
4 changes: 2 additions & 2 deletions docs/providers/aws/guide/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ service: users

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
memorySize: 512

Expand All @@ -193,7 +193,7 @@ service: users

provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
memorySize: 512

Expand Down
2 changes: 1 addition & 1 deletion docs/providers/aws/guide/variables.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ You can add such custom output to CloudFormation stack. For example:
service: another-service
provider:
name: aws
runtime: nodejs12.x
runtime: nodejs14.x
region: ap-northeast-1
memorySize: 512
functions:
Expand Down
2 changes: 1 addition & 1 deletion docs/providers/azure/guide/serverless.yml.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ frameworkVersion: '3'
provider:
name: azure
region: West US 2
runtime: nodejs12.x
runtime: nodejs14.x
prefix: sample # prefix of generated resource name
subscriptionId: 00000000-0000-0000-0000-000000000000
stage: dev # Default stage to be used
Expand Down

0 comments on commit 9c2ebb7

Please sign in to comment.