-
Notifications
You must be signed in to change notification settings - Fork 212
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
W58 cannot be suppressed #422
Comments
I'm running into this issue too. The core of the issue as to why the So it seems like there are two problems here:
|
cfn_nag will pass through the metadata declared on the SAM resource to the transformed function and role for the purposes of allowing warning suppression. |
I have three AWS::Serverless::Function resources in a template but the lambda role is in a separate stack. CFN-Nag prompts with W58. The lambda role was update to included the CloudWatch logs permissions. CFN-Nag still prompts with W58. I put meta in on the resource and stack and still I get the nag about W58.
CFNCustomProviderDev:
Type: AWS::Serverless::Function
Metadata:
cfn_nag:
rules_to_suppress:
- id: W58
reason: "Lambda Role is in org-iam"
The text was updated successfully, but these errors were encountered: