Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nodejs downgraded to v12

See original GitHub issue

What is the problem?

We are upgrading from v1.118.0 to v1.130.0. We noticed as part of the upgrade that some of the implicit lambdas were downgraded from the nodejs 1.14 runtime to the 1.12 runtime. In particular, this is happening for the CertificateRequestorFunction lambda created via aws_certificatemanager.DnsValidatedCertificate, and the framework-onEvent lambda created via custom_resources.Provider.

I don’t know which module is responsible for these lambda runtimes.

Reproduction Steps

  1. Deploy a stack with aws_certificatemanager.DnsValidatedCertificate and custom_resources.Provider using CDK v1.118.0.
  2. Deploy the stack again with CDK v1.130.0 and look at the diff.

What did you expect to happen?

The lambda runtime should have remained at nodejs 14.

What actually happened?

It downgraded to nodejs 12.

CDK CLI Version


Framework Version

No response

Node.js Version



Alpine 3.14



Language Version


Other information

No response

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

peterwoodworthcommented, Oct 10, 2022
gkumar7commented, Oct 10, 2022

Stumbled on this issue as I see the latest cdk version is still using NodeJS 12.x. With NodeJS v12.x EOL, could we at least add a parameterized way to update DnsValidatedCertificate to use NodeJS 14.x?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to downgrade Node version - Stack Overflow
Go to Control panel> program and features>Node.js then uninstall. Go to website: and download the version and install ...
Read more >
Quickly downgrade or upgrade your Node.js version
To switch between the two, you type in n , hit Enter , use the up/down arrow keys to choose a Node.js version,...
Read more >
How to downgrade node version -
For Windows and nvm , the command is: nvm install <version> . After installation, run nvm use <version> to switch to the downgraded...
Read more >
How to Upgrade (or Downgrade) Node.js Using npm
Need to update your version of Node.js? Here's how you can upgrade or downgrade from the command line using npm.
Read more >
How to Downgrade Node Version Windows - Linux Hint
Step 1: Open Command Prompt · Step 2: Check the Current Node Version · Step 3: Downgrade the Node Version · Step 4:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found