Closed mrf closed 1 year ago
There is no need in this validation (it is already commented out).
Where does this error come from? Error: expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x nodejs16.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 dotnet6 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2 nodejs18.x], got java17
Was this only commented out recently?
Run terraform init -upgrade
and make sure that you're using Terraform AWS provider v4.66.0 or newer where support for java17
was introduced.
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
AWS now supports java17 runtime https://aws.amazon.com/about-aws/whats-new/2023/04/aws-lambda-java-17/
Motivation and Context
Currently failing validation despite java17 being available
Breaking Changes
None
How Has This Been Tested?
None