retentionInDays for logs.LogGroup using a CfnParameter throws an error #6690
Labels
@aws-cdk/aws-logs
Related to Amazon CloudWatch Logs
bug
This issue is a bug.
good first issue
Related to contributions. See CONTRIBUTING.md
in-progress
This issue is being actively worked on.
p2
When using the retention property in logs.LogGroup and provide the value of a parameter, it throws an error that the number is negative:
retentionInDays must be positive, got -1.888154589708755e+289
. This exception seems to be thrown by the LogGroup.Here is the CfnParameter:
The log group:
Reproduction Steps
cdk synth
.Error Log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: