Skip to content

Commit

Permalink
Merge pull request #4155 from terraform-providers/td-aws_lambda_funct…
Browse files Browse the repository at this point in the history
…ion-nodejs8.10-constant

resource/aws_lambda_function: Use SDK constant for nodejs8.10
  • Loading branch information
bflad authored Apr 10, 2018
2 parents fbfd6a0 + d88bdba commit b682fb9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions aws/resource_aws_lambda_function.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ func resourceAwsLambdaFunction() *schema.Resource {
Required: true,
ValidateFunc: validation.StringInSlice([]string{
// lambda.RuntimeNodejs has reached end of life since October 2016 so not included here
lambda.RuntimeDotnetcore10,
lambda.RuntimeDotnetcore20,
lambda.RuntimeGo1X,
lambda.RuntimeJava8,
lambda.RuntimeNodejs43,
lambda.RuntimeNodejs43Edge,
lambda.RuntimeNodejs610,
"nodejs8.10",
lambda.RuntimeJava8,
lambda.RuntimeNodejs810,
lambda.RuntimePython27,
lambda.RuntimePython36,
lambda.RuntimeDotnetcore10,
lambda.RuntimeDotnetcore20,
lambda.RuntimeNodejs43Edge,
lambda.RuntimeGo1X,
}, false),
},
"timeout": {
Expand Down

0 comments on commit b682fb9

Please sign in to comment.