org-formation / aws-resource-providers

A community driven repository where you can find AWS Resource Type Providers for different purposes (including org-formation ones).
MIT License
88 stars 21 forks source link

Update all resource types with deprecated nodejs12.x runtime #136

Closed sshvetsov closed 1 year ago

sshvetsov commented 1 year ago

AWS marked Node.js Lambda runtime version 12.x as deprecated (Phase 1) on March 31, 2023, meaning it's no longer possible to create a new Lambda function that uses nodejs12.x runtime. This prevents users from registering custom resource types that are using this runtime (e.g. #135).

To prevent errors similar to:

INFO: Type registration Community::Organizations::NoDefaultVPC is in DEPLOY_STAGE of status FAILED. waiting....
ERROR: Workload NoDefaultVpcType in 111111111111/us-west-1 update failed. reason: Registration of Resource Type Community::Organizations::NoDefaultVPC failed. Deployment is currently in DEPLOY_STAGE of status FAILED
Deployment failed with error. Error message: [3e06a148-45a3-4ee5-9455-f3eb9a89458a] Internal Failure (111111111111 = SomeAccount)

when OFN users try to register custom resource types using resgister-type task, the runtimes of the following resource types need to be updated to Node.js v14.x or newer: