hashicorp / terraform-provider-aws

The AWS Provider enables Terraform to manage AWS resources.
https://registry.terraform.io/providers/hashicorp/aws
Mozilla Public License 2.0
9.86k stars 9.2k forks source link

[Enhancement]: nodejs18.x support for aws_lambda_function #27878

Closed jbarop closed 2 years ago

jbarop commented 2 years ago

Description

Node18 runtime for AWS Lambda has been released with CDK 2.51.0 and aws-sdk-go v1.44.140

Creating an aws_lambda_function currently returns in plan-stage:

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

Affected Resource(s) and/or Data Source(s)

References

https://github.com/aws/aws-cdk/releases/tag/v2.51.0 https://github.com/aws/aws-cdk/pull/22964 https://github.com/aws/aws-sdk-go/pull/4626 Announcement

github-actions[bot] commented 2 years ago

Community Note

Voting for Prioritization

Volunteering to Work on This Issue

ewbankkit commented 2 years ago

Requires AWS SDK for Go v1.44.140: https://github.com/hashicorp/terraform-provider-aws/pull/27868.

rarous commented 2 years ago

Already on v1.44.141 https://github.com/hashicorp/terraform-provider-aws/pull/27887

github-actions[bot] commented 1 year ago

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 have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.