Skip to content

Commit

Permalink
Update the Python version to 3.11 for Lambda Function
Browse files Browse the repository at this point in the history
  • Loading branch information
muratugureminoglu committed Sep 27, 2023
1 parent 2591b68 commit dd4da78
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Resources:
AMSGetLatestAMI:
Type: AWS::Lambda::Function
Properties:
Runtime: python3.8
Runtime: python3.11
Handler: index.handler
Role: !Sub ${DescribeImagesRole.Arn}
Timeout: 60
Expand Down
2 changes: 1 addition & 1 deletion cloudformation/antmedia-aws-autoscale-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ Resources:
AMSGetLatestAMI:
Type: AWS::Lambda::Function
Properties:
Runtime: python3.8
Runtime: python3.11
Handler: index.handler
Role: !Sub ${DescribeImagesRole.Arn}
Timeout: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ Resources:
AMSGetLatestAMI:
Type: AWS::Lambda::Function
Properties:
Runtime: python3.8
Runtime: python3.11
Handler: index.handler
Role: !Sub ${DescribeImagesRole.Arn}
Timeout: 60
Expand Down
2 changes: 1 addition & 1 deletion cloudformation/wavelength/ams-wavelength-autoscale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ Resources:
GetLatestAMI:
Type: AWS::Lambda::Function
Properties:
Runtime: python3.9
Runtime: python3.11
Handler: index.handler
Role: !Sub ${DescribeImagesRole.Arn}
Timeout: 60
Expand Down
2 changes: 1 addition & 1 deletion cloudformation/wavelength/ams-wavelength-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Resources:
GetLatestAMI:
Type: AWS::Lambda::Function
Properties:
Runtime: python3.9
Runtime: python3.11
Handler: index.handler
Role: !Sub ${DescribeImagesRole.Arn}
Timeout: 60
Expand Down

0 comments on commit dd4da78

Please sign in to comment.