Skip to content

Commit

Permalink
[tests] Runtime python3.8 reached its deprecation date
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-k committed Oct 18, 2024
1 parent 2b54182 commit 8a619b3
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/es1005.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/es1005.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
MemorySize: 2048
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/es1006.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/es1006.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Timeout: 10
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/es1007.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Transform: "AWS::Serverless-2016-10-31"

Globals:
Function:
Runtime: python3.8
Runtime: python3.12
Handler: main.handler

Resources:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/es1007.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Transform: "AWS::Serverless-2016-10-31"

Globals:
Function:
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
EventInvokeConfig:
DestinationConfig:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1000-missing.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: PassThrough
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1000.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Events:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1002-sam.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
CodeSigningConfigArn: arn:aws:lambda:eu-east-1:111122223333:code-signing-config:csc-d0a6cc682193458f9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1002.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Events:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1003-fullstar.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Policies:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1003-substar.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Policies:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1003.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Policies:
Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1003.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Policies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Resources:
Properties:
FunctionName: my_function_name
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1004-join.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1004-missing.fail.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Resources:
Properties:
FunctionName: my-function-name
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1004-sub-vars.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down
2 changes: 1 addition & 1 deletion tests/serverless_rules/templates/ws1004-sub.pass.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Resources:
Type: AWS::Serverless::Function
Properties:
CodeUri: .
Runtime: python3.8
Runtime: python3.12
Handler: main.handler
Tracing: Active

Expand Down

0 comments on commit 8a619b3

Please sign in to comment.