0.10.8
Please list the resources as a list, for example:
Should successfully build with latest Node v8.10.0 runtime
Error: module.babelfish_ref.aws_lambda_function.module_lambda: expected runtime to be one of [nodejs4.3 nodejs6.10 java8 python2.7 python3.6 dotnetcore1.0 dotnetcore2.0 nodejs4.3-edge go1.x], got nodejs8.10
Please list the steps required to reproduce the issue, for example:
terraform applyChange needs to be made here in terraform-provider-aws/aws/resource_aws_lambda_function.go
"runtime": {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringInSlice([]string{
// lambda.RuntimeNodejs has reached end of life since October 2016 so not included here
lambda.RuntimeNodejs43,
lambda.RuntimeNodejs610,
lambda.RuntimeJava8,
lambda.RuntimePython27,
lambda.RuntimePython36,
lambda.RuntimeDotnetcore10,
lambda.RuntimeDotnetcore20,
lambda.RuntimeNodejs43Edge,
lambda.RuntimeGo1X,
}, false),
},
While the SDK hasn't been updated to support the new constant, we merged in support via #4020. It will be released with v1.14.0 of the AWS provider, likely later this week. 🎉
I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!
Most helpful comment
While the SDK hasn't been updated to support the new constant, we merged in support via #4020. It will be released with v1.14.0 of the AWS provider, likely later this week. 🎉