Closed pahud closed 4 months ago
another workaround mentioned https://github.com/aws/aws-cdk/issues/18249#issuecomment-1005121223
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the feature
The SemanticVersion is hardcoded in SecretApplocationRotation and here:
https://github.com/aws/aws-cdk/blob/1fdac0cbb71a84efd3f744ade6a4f49a452968e0/packages/aws-cdk-lib/aws-secretsmanager/lib/secret-rotation.ts#L167
There's no way to allow users to customize the SemanticVersion for that.
Use Case
Some versions might be deprecated because of Lambda runtime deprecation and we can't just update the CDK code for that.
Proposed Solution
We should allow user to specify their desired custom SemanticVersion.
Other Information
Before we have a PR for this, a workaround is like:
us-east-1
.In this sample, I am overriding the SemanticVersion to 9999.
Acknowledgements
CDK version used
2.132.0
Environment details (OS name and version, etc.)
all