Skip to content

Commit 409653e

Browse files
committed
Update Lambda runtime from java8 to java8.al2
1 parent 2f8a0bd commit 409653e

File tree

9 files changed

+10
-10
lines changed

9 files changed

+10
-10
lines changed

chapter2/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Resources:
77
HelloWorldLambda:
88
Type: AWS::Serverless::Function
99
Properties:
10-
Runtime: java8
10+
Runtime: java8.al2
1111
MemorySize: 512
1212
Handler: book.HelloWorld::handler
1313
CodeUri: target/lambda.jar

chapter3/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Resources:
99
Properties:
1010
FunctionName: HelloWorldJava
1111
Timeout: 2
12-
Runtime: java8
12+
Runtime: java8.al2
1313
MemorySize: 512
1414
Handler: book.EnvVarLambda::handler
1515
CodeUri: target/lambda.jar

chapter4/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ Resources:
77
HelloWorldLambda:
88
Type: AWS::Serverless::Function
99
Properties:
10-
Runtime: java8
10+
Runtime: java8.al2
1111
Handler: book.HelloWorld::handler
1212
CodeUri: target/lambda.zip

chapter5-api/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description: chapter5-api
44

55
Globals:
66
Function:
7-
Runtime: java8
7+
Runtime: java8.al2
88
MemorySize: 512
99
Timeout: 25
1010
Environment:

chapter5-data-pipeline/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description: chapter5-data-pipeline
44

55
Globals:
66
Function:
7-
Runtime: java8
7+
Runtime: java8.al2
88
MemorySize: 512
99
Timeout: 10
1010

chapter5-event-sources/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Resources:
1010
HelloAPIWorldLambda:
1111
Type: AWS::Serverless::Function
1212
Properties:
13-
Runtime: java8
13+
Runtime: java8.al2
1414
MemorySize: 512
1515
Handler: book.HelloWorldAPI::handler
1616
CodeUri: target/lambda.zip

chapter6/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description: chapter5-data-pipeline
44

55
Globals:
66
Function:
7-
Runtime: java8
7+
Runtime: java8.al2
88
MemorySize: 512
99
Timeout: 10
1010

chapter7/template.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Description: chapter7-api
44

55
Globals:
66
Function:
7-
Runtime: java8
7+
Runtime: java8.al2
88
MemorySize: 512
99
Timeout: 25
1010
Environment:

chapter8-s3-errors/template.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Resources:
1414
S3ErroringLambda:
1515
Type: AWS::Serverless::Function
1616
Properties:
17-
Runtime: java8
17+
Runtime: java8.al2
1818
MemorySize: 512
1919
Handler: book.S3ErroringLambda::handler
2020
CodeUri: target/lambda.zip
@@ -31,7 +31,7 @@ Resources:
3131
DLQProcessingLambda:
3232
Type: AWS::Serverless::Function
3333
Properties:
34-
Runtime: java8
34+
Runtime: java8.al2
3535
MemorySize: 512
3636
Handler: book.DLQProcessingLambda::handler
3737
CodeUri: target/lambda.zip

0 commit comments

Comments
 (0)