Open emilyrohrbough opened 3 years ago
I am experiencing the same error with v0.8.8 for Type: AWS::IAM::Role
I am experiencing the same issue and it is pointing to "Type: AWS::CloudWatch::Alarm". Any update on this?
I don't think it is incorrectly throwing the error. The rule is outlined here.
@emilyrohrbough Although the error complains about the type, its actually the name of the resource which is causing the cfn_nag to complain. In your case its this line -> AlarmName: !GetAtt TesterDLQ.QueueName. If you remove this line, the warning goes away. As @maghirardelli mentioned, cfn_nag only checks particular resources (check the link shared above)
Running the linter on my CF template, I am receiving a W28 warning that is resolving to my resource type. Initally I thought it was reporting the inocrrect line number but when I removed the type, I received a missing type error (as I should) and when I moved it do a different line, I received the same error with the updated line number.
Error
Template