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

Add document link and detector name on output #80

Closed
wata727 opened this issue Apr 1, 2017 · 0 comments
Closed

Add document link and detector name on output #80

wata727 opened this issue Apr 1, 2017 · 0 comments

Comments

@wata727
Copy link
Member

wata727 commented Apr 1, 2017

For example:

Pretty Print

template.tf
        NOTICE:1 "iam_instance_profile" is not specified. If you want to change it, you need to recreate it (aws_instance_not_specified_iam_profile)
        ERROR:3 "t1.2xlarge" is invalid instance type. (aws_instance_invalid_type)

Result: 2 issues  (1 errors , 0 warnings , 1 notices)

JSON

[
  {
    "detecot": "aws_instance_not_specified_iam_profile",
    "type": "NOTICE",
    "message": "\"iam_instance_profile\" is not specified. If you want to change it, you need to recreate it ",
    "line": 1,
    "file": "template.tf",
    "link": "https://github.com/wata727/tflint/blob/master/docs/aws_instance_not_specified_iam_profile.md",
  },
  {
    "detector": "aws_instance_invalid_type",
    "type": "ERROR",
    "message": "\"t1.2xlarge\" is invalid instance type.",
    "line": 3,
    "file": "template.tf",
    "link": "https://github.com/wata727/tflint/blob/master/docs/aws_instance_invalid_type.md",
  }
]
bendrucker pushed a commit that referenced this issue Jun 13, 2023
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant