Skip to content

Upgrade Node version used to synth CDK stacks #750

Closed
@landonshumway-ia

Description

@landonshumway-ia

The Docker image that is used to build the project is using Node version 18, which will reach end-of-life support on 2025-04-30. To upgrade the Node version, we need to specify a later version in the CodeBuild buildspec configuration than what is provided by default.

Notes

The following message is displayed in the build logs when running the deployment pipeline:

b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'
--
106 | b'!!                                                                                                                  !!\n'
107 | b'!!  Node 18 is approaching end-of-life and will no longer be supported in new releases after 2025-04-30.            !!\n'
108 | b'!!  Please upgrade to a supported node version as soon as possible.                                                 !!\n'
109 | b'!!                                                                                                                  !!\n'
110 | b'!!  This software is currently running on node v18.20.6.                                                            !!\n'
111 | b'!!  As of the current release of this software, supported node releases are:                                        !!\n'
112 | b'!!  - ^22.0.0 (Planned end-of-life: 2027-04-30)                                                                     !!\n'
113 | b'!!  - ^20.0.0 (Planned end-of-life: 2026-04-30)                                                                     !!\n'
114 | b'!!  - ^18.0.0 (Planned end-of-life: 2025-04-30) [DEPRECATED]                                                        !!\n'
115 | b'!!                                                                                                                  !!\n'
116 | b'!!  This warning can be silenced by setting the JSII_SILENCE_WARNING_DEPRECATED_NODE_VERSION environment variable.  !!\n'
117 | b'!!                                                                                                                  !!\n'
118 | b'!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n'


Questions

Assumptions

Estimate

Tasks

  • TODO
  • Automated tests
  • API Docs
  • Postman collection
  • PR opened with labels / reviewers / assignee / linked-issue

Implementation Notes

Metadata

Metadata

Labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions