ignore_checks for specific templates in config #3264
-
We make use of the .cfnlintrc config in our repositories. What we want to achieve is to Take the following snippet
We now see We now want to disable rule E2523 in this template, but still need it elsewhere. How do we do this? Or how do I change the template to silence this error? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can disable a rule using the Metadata section in a template or on the resource itself. See this section in the readme. Also this can be an issue as we shouldn't be giving you this warning. Take a look at this pr for the fix |
Beta Was this translation helpful? Give feedback.
You can disable a rule using the Metadata section in a template or on the resource itself. See this section in the readme.
Also this can be an issue as we shouldn't be giving you this warning. Take a look at this pr for the fix