@aws-cdk/integ-tests-alpha: SingletonFunctions used for test assertions should set a CloudWatch log group retention policy #29260
Labels
@aws-cdk/assertions
Related to the @aws-cdk/assertv2 package
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p1
Describe the feature
Currently if you perform a test like
The stack deletes itself after a test, but CloudWatch log groups named like
and are set to never expire, so end up cluttering up your aws account and need manual cleanup.
Use Case
Test results are not needed forever and should have some default retention policy, or at least a way to set them.
Proposed Solution
Include a default retention policy for
SingletonFunction
CloudWatch log groups.Other Information
nodejs dependencies:
Acknowledgements
CDK version used
2.129.0
Environment details (OS name and version, etc.)
Mac. Node 20. cdk 2.129.0
The text was updated successfully, but these errors were encountered: