-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(aws-logs): remove validation of retentionInDays for unresolved to…
…kens (#6727) Prevents performing validation on the retention property for LogGroups if the token is unresolved (e.g. a CloudFormation Parameter). Otherwise, running the command `cdk synth` could fail with the following error message: ``` retentionInDays must be positive, got -1.888154589708755e+289 ``` The new unit test creates a LogGroup with a retention property that refers to a CloudFormation parameter to ensure that the stack synthesizes properly. fixes #6690
- Loading branch information
1 parent
38c8f34
commit 43a3420
Showing
2 changed files
with
23 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters