Skip to content
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

Linter silently fails on null value error #32

Open
wolfkarl opened this issue Aug 25, 2021 · 1 comment
Open

Linter silently fails on null value error #32

wolfkarl opened this issue Aug 25, 2021 · 1 comment

Comments

@wolfkarl
Copy link

AWSTemplateFormatVersion: "2010-09-09"
Resources:
  # Unsupported Type "AWS::EC2::Instance1"
  MyEC2Instance1:
    Type: "AWS::EC2::Instance1"
      Metadata:

This minimal config makes the linter fail silently -- no errors are shown.

Running cfn-lint manually returns E0000 Null value at line [...]

@rdkls
Copy link

rdkls commented Sep 22, 2021

This is because --ignore-bad-template is supplied to cfn-lint

args = args.concat(['--ignore-bad-template'])

@kddejong would you be OK with us removing this? Can make PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants