You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cfn-lint] WS1004: Lambda function xxx does not have a corresponding log group with a Retention property
Expected Behavior
When there is an explicit !Ref to a defined log group with the RetentionInDays property set then WS1004 should not be flagged, unless I am misunderstanding the warning.
Current Behavior
Warning about WS1004 despite having a log group with a retention property referenced.
Possible Solution
Manual solution is adding .cfnlintrc.yaml to ignore the warning.
What were you trying to accomplish?
Resolve warnings. See aws-cloudformation/cfn-lint#3103
Expected Behavior
When there is an explicit
!Ref
to a defined log group with theRetentionInDays
property set then WS1004 should not be flagged, unless I am misunderstanding the warning.Current Behavior
Warning about WS1004 despite having a log group with a retention property referenced.
Possible Solution
Manual solution is adding
.cfnlintrc.yaml
to ignore the warning.Steps to Reproduce (for bugs)
Run
cfn-lint
with the serverless template below:Environment
Python 3.8.10
cfn-lint 0.86.0
cfn-lint-serverless 0.3.2
Log to large to paste, attached instead.
out.log
The text was updated successfully, but these errors were encountered: