I am currently working on upgrading our existing AWS Lambda function from .Net Core 2.1 to 3.1 using terraform. I am getting the following error when I run terraform plan
. I am using Terraform v0.11.14
aws_lambda_function.function: expected runtime to be one of [dotnetcore1.0 dotnetcore2.0 dotnetcore2.1 go1.x java8 java11 nodejs4.3 nodejs4.3-edge nodejs6.10 nodejs8.10 nodejs10.x nodejs12.x provided python2.7 python3.6 python3.7 python3.8 ruby2.5 ruby2.7], got dotnetcore3.1