Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: nodejs14.x support for aws_lambda_function #17450

Closed
willfarrell opened this issue Feb 4, 2021 · 8 comments · Fixed by #17469
Closed

Feature Request: nodejs14.x support for aws_lambda_function #17450

willfarrell opened this issue Feb 4, 2021 · 8 comments · Fixed by #17469
Assignees
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Milestone

Comments

@willfarrell
Copy link

Description

The Nodejs v14 runtime has been released for Lambda.

Currently returns:

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

New or Affected Resource(s)

  • aws_lambda_function

References

https://aws.amazon.com/about-aws/whats-new/2021/02/aws-lambda-now-supports-node-js-14/

@willfarrell willfarrell added the enhancement Requests to existing resources that expand the functionality or scope. label Feb 4, 2021
@ghost ghost added the service/lambda Issues and PRs that pertain to the lambda service. label Feb 4, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Feb 4, 2021
@ewbankkit
Copy link
Contributor

ewbankkit commented Feb 4, 2021

@willfarrell Thanks for raising this issue.
The provider will start allowing the new nodejs14.x value for the aws_lambda_function.runtime and aws_lambda_layer_version.compatible_runtimes attributes once AWS SDK v1.37.3 is merged (#17452).

@ewbankkit ewbankkit removed the needs-triage Waiting for first response or review from a maintainer. label Feb 4, 2021
@willfarrell
Copy link
Author

Thanks, I hoped it was as simple as updating the SDK. But wanted to raise, just in case it wasn't.

@bflad bflad self-assigned this Feb 4, 2021
@bflad bflad added this to the v3.27.0 milestone Feb 4, 2021
@ghost
Copy link

ghost commented Feb 5, 2021

This has been released in version 3.27.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@sateesh3550
Copy link

sateesh3550 commented Feb 8, 2021

@willfarrell @ewbankkit what terraform version are u guys using ? We are seeing same issue

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

When we are at
Terraform v0.12.25

@willfarrell
Copy link
Author

I'm using terraform v0.13.6 with aws v3.27.0.

@vinothvk
Copy link

@ewbankkit i tested with 3.18.0 and terraform 0.14 still getting same error

@illia-sh
Copy link

Works for me with TF 0.13.15 and AWS provider 3.29.1

terraform {
  required_providers {
    aws = {
      source  = "hashicorp/aws"
      version = "~> 3.29.1"
    }
  }
  required_version = "= 0.13.5"
}

@ghost
Copy link

ghost commented Mar 7, 2021

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!

@ghost ghost locked as resolved and limited conversation to collaborators Mar 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Requests to existing resources that expand the functionality or scope. service/lambda Issues and PRs that pertain to the lambda service.
Projects
None yet
6 participants