Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

updating runtime value of aws lambda function module into nodejs16

I need to update the runtime value from nodejs14 to nodejs16. When I update the runtime of my terraform runtime value into nodejs16.x its giving the following error.

expected runtime to be one of [nodejs nodejs4.3 nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x nodejs14.x java8 java8.al2 java11 python2.7 python3.6 python3.7 python3.8 python3.9 dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 dotnetcore3.1 nodejs4.3-edge go1.x ruby2.5 ruby2.7 provided provided.al2], got nodejs16.x

like image 248
Jerin Avatar asked Jun 13 '26 13:06

Jerin


1 Answers

nodejs16.x support has been added to v3.75.2 and v4.x AWS provider versions

Check your AWS provider version in your terraform code and update it.

like image 116
Satya Vinay Avatar answered Jun 15 '26 02:06

Satya Vinay