Decouples the macro version from the Lambda Library versions for Python and Node.js. Users will need to specify which version of the Python and Node.js Lambda Library they would like the macro to attach with the new pythonLibraryVersion and nodeLibraryVersion parameters.
Motivation
This change allows users to upgrade their Lambda Library versions without having to upgrade the macro by redeploying a CloudFormation stack. The Lambda Library version is now not tied to the macro code, and instead uses the user provided value.
Testing Guidelines
Updated unit tests and deployed a sample stack through SAM with the macro on sandbox account.
What does this PR do?
Decouples the macro version from the Lambda Library versions for Python and Node.js. Users will need to specify which version of the Python and Node.js Lambda Library they would like the macro to attach with the new
pythonLibraryVersion
andnodeLibraryVersion
parameters.Motivation
This change allows users to upgrade their Lambda Library versions without having to upgrade the macro by redeploying a CloudFormation stack. The Lambda Library version is now not tied to the macro code, and instead uses the user provided value.
Testing Guidelines
Updated unit tests and deployed a sample stack through SAM with the macro on sandbox account.
Types of changes