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

r/lambda_function: support nodejs 10.x runtime #8622

Merged
merged 1 commit into from
May 14, 2019

Conversation

acburdine
Copy link
Contributor

@acburdine acburdine commented May 14, 2019

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

Fixes #8627

Release note for CHANGELOG:

resource/aws_lambda_function: support nodejs10.x runtime

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSLambdaFunction_runtimeValidation'
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_noRuntime (2.38s)
--- FAIL: TestAccAWSLambdaFunction_runtimeValidation_ruby25 (34.05s)
    testing.go:568: Step 0 error: errors during apply:

        Error: Error creating VPC: VpcLimitExceeded: The maximum number of VPCs has been reached.
                status code: 400, request id: c627d505-aca2-404b-9df4-19049657e699

          on /var/folders/5_/yp4n1h313nnck0dh22h7bzt4nbtrkm/T/tf-test266518313/main.tf line 73:
          (source code not available)


--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python37 (38.86s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs810 (38.90s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_provided (40.74s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs10x (40.85s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python36 (43.05s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_java8 (45.29s)
--- PASS: TestAccAWSLambdaFunction_runtimeValidation_python27 (47.04s)

Looks like it failed on trying to create another VPC.......must be an issue with the specific account I ran this in, everything else looked fine.

@ghost ghost added size/S Managed by automation to categorize the size of a PR. service/lambda Issues and PRs that pertain to the lambda service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels May 14, 2019
@bflad bflad added the enhancement Requests to existing resources that expand the functionality or scope. label May 14, 2019
@bflad bflad added this to the v2.11.0 milestone May 14, 2019
Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks for the additional test, @acburdine! 🚀

--- PASS: TestAccAWSLambdaFunction_runtimeValidation_NodeJs10x (43.24s)

@bflad bflad merged commit e5f7c4a into hashicorp:master May 14, 2019
@acburdine acburdine deleted the r/lambda-function-node10 branch May 14, 2019 14:08
bflad added a commit that referenced this pull request May 14, 2019
@chintan-patel
Copy link

@bflad I am desperately waiting for Lamdba Runtime Node.js 10?

Is there any schedule/frequency followed to release patches ?

@bflad
Copy link
Contributor

bflad commented May 14, 2019

@chintan-patel typically weekly (roughly Thursdays) see also the repository CHANGELOG: https://github.com/terraform-providers/terraform-provider-aws/blob/master/CHANGELOG.md

@chintan-patel
Copy link

Thank you I ll look

@bflad
Copy link
Contributor

bflad commented May 17, 2019

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

@shadycuz
Copy link
Contributor

@acburdine @bflad This fix made it into 2.11 but I need this in 2.4 to test other bug fixes with api gateway stage and deployment resources. What is the best way to make this happen?

@monteith

@ghost
Copy link

ghost commented Nov 2, 2019

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 and limited conversation to collaborators Nov 2, 2019
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. size/S Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support nodejs10.x runtime in Lambda
4 participants