Version 1 of the Amazon Web Services Cloud Development Kit (Amazon Web Services CDK) has reached end-of-support

by Evgeny Karasik | on

Since its introduction in 2018, Amazon Web Services CDK has gained significant traction among developers for building Infrastructure as Code solutions. As technology advances and new features emerge, it is inevitable that older versions of tools must reach their end-of-support.

As of June 1, 2023, Amazon Web Services CDK v1 has officially reached its end-of-support. Consequently, Amazon Web Services will no longer provide maintenance, updates, patches, or technical support for this version of the CDK. While the existing releases will remain accessible through public package managers and the code will still be available on GitHub, using the older Amazon Web Services CDK v1 could expose your code to security vulnerabilities and unaddressed bugs. Moreover, as the technology landscape evolves, new Amazon Web Services services and features may not be compatible with the outdated version. This could result in compatibility issues, lack of support for newer services, and missed opportunities to leverage the latest innovations from Amazon Web Services.

To mitigate the risks associated with using an unsupported Amazon Web Services CDK version and to benefit from the inclusion of new features and capabilities, we strongly recommends that you transition to Amazon Web Services CDK v2 without delay.

Amazon Web Services CDK version 2 (v2) provides improved features, enhanced performance, and continued support from Amazon Web Services. By embracing the latest version of Amazon Web Services CDK, developers can ensure the security, compatibility, and stability of their infrastructure as code solutions on Amazon Web Services. Moving to Amazon Web Services CDK v2 is typically a straightforward process for most projects. It involves a one-time, secure re-bootstrapping of your Amazon Web Services accounts, along with updating dependencies and making changes to import statements.

To learn more, refer to the following resources:

  • To identify stacks deployed with Amazon Web Services CDK v1, use the awscdk-v1-stack-finder utility .
  • To compare Amazon Web Services CDK v1 and v2, consult the “ Migrating to Amazon Web Services CDK v2 ” section in the Amazon Web Services CDK Developer Guide. It provides the necessary information for a smooth transition between the two versions.
  • Connect with the community in the cdk.dev Slack workspace.
  • Open a discussion  or issue  on GitHub if you have questions when migrating, or run into issues.