Open
Description
Is this feature request related to a new rule or cfn-lint capabilities?
rules
Describe the feature you'd like to request
If a template file [AWSTemplateFormatVersion: '2010-09-09'] is run through cfn-lint as a normal file, it results in
E1001: 'Resources' is a required property (despite having a Resources: section)
But if the same filename is given after a -t commandline switch, the file is processed normally.
So why not at least add an option to autodetect template files ?
Describe the solution you'd like
A commandline option (eg --detect_template) to cause input files from the filename list to be checked for the "AWSTemplateFormatVersion: '2010-09-09' property, and switch into template mode if so.
Additional context
No response
Is this something that you'd be interested in working on?
- 👋 I may be able to implement this feature request
Would this feature include a breaking change?
-
⚠️ This feature might incur a breaking change
Metadata
Metadata
Assignees
Labels
No labels