Need to update to aws-sdk v3 as v2 is deprecated and using cloudformation-tools will cause aws-sdk to throw it's deprecation warning at runtime:
(node:34302) NOTE: We are formalizing our plans to enter AWS SDK for JavaScript (v2) into maintenance mode in 2023.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)