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

Tests: Replace use of nodejs14.x runtime for AWS Lambda functions #35939

Open
ewbankkit opened this issue Feb 22, 2024 · 1 comment
Open

Tests: Replace use of nodejs14.x runtime for AWS Lambda functions #35939

ewbankkit opened this issue Feb 22, 2024 · 1 comment
Labels
service/lambda Issues and PRs that pertain to the lambda service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.

Comments

@ewbankkit
Copy link
Contributor

ewbankkit commented Feb 22, 2024

AWS Support notice:

Starting January 25, 2024, you will no longer be able to update existing functions using the Node.js 14 runtime.

In various acceptance tests:

        Error: creating Lambda Function (tf-acc-test-3120692075753261682): operation error Lambda: CreateFunction, https response error StatusCode: 400, RequestID: 889cc8a0-3eb1-4c84-a28e-ed90db4577c0, InvalidParameterValueException: The runtime parameter of nodejs14.x is no longer supported for creating or updating AWS Lambda functions. We recommend you use the new runtime (nodejs20.x) while creating or updating functions.
% grep nodejs14.x internal/**/*.go    
internal/service/apigatewayv2/authorizer_test.go:  runtime       = "nodejs14.x"
internal/service/apigatewayv2/integration_test.go:  runtime       = "nodejs14.x"
internal/service/appsync/graphql_api_test.go:  runtime       = "nodejs14.x"
internal/service/connect/lambda_function_association_data_source_test.go:  runtime       = "nodejs14.x"
internal/service/connect/lambda_function_association_test.go:  runtime       = "nodejs14.x"
internal/service/ec2/vpnclient_endpoint_test.go:  runtime       = "nodejs14.x"
internal/service/ec2/vpnclient_endpoint_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_data_source_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/function_url_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/invocation_test.go:  runtime       = "nodejs14.x"
internal/service/lambda/layer_version_test.go:				Config: testAccLayerVersionConfig_skipDestroy(rName, "nodejs14.x"),
internal/service/lambda/layer_version_test.go:  compatible_runtimes = ["nodejs14.x", "nodejs16.x"]
internal/service/s3control/object_lambda_access_point_test.go:  runtime       = "nodejs14.x"
internal/service/transfer/server_test.go:  runtime       = "nodejs14.x"
internal/service/transfer/workflow_test.go:  runtime       = "nodejs14.x"
Copy link

Community Note

Voting for Prioritization

  • Please vote on this issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize this request.
  • Please see our prioritization guide for information on how we prioritize.
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.

@ewbankkit ewbankkit changed the title Replace use of nodejs14.x runtime for AWS Lambda functions Tests: Replace use of nodejs14.x runtime for AWS Lambda functions Feb 22, 2024
@ewbankkit ewbankkit added tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. service/lambda Issues and PRs that pertain to the lambda service. labels Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service/lambda Issues and PRs that pertain to the lambda service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

No branches or pull requests

1 participant