amplify-backend
amplify-backend copied to clipboard
Overriding default installed version of node does not work
Environment information
AWS Console
Description
I am trying to overwrite the nodejs version to use nodejs 20.11.1 but it's not getting overwrited once the building starts
This is the overwrite specifying nodejs 20.11.1
I am getting nodejs 18.18.2
As additional information, I made the nodejs overwrite after the branch was added. I deleted the branch and created again and the nodejs version was overwrited
Hey @gongora92, thank you for reaching. I was able to reproduce the issue, marking as bug.
reproduction steps:
- created new app with no added overrides, this starts the first build
- add node override
- then redeploy, observe this doesn't detect the override
note: observed adding the override on the app creation advances setting or re-attaching the branch does detect the override.
Hi @gongora92 👋 , thanks for your continued patience. We have deployed a fix for this issue and you should now be able override the default node version as expected for Gen 1 apps. Thanks!