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

tflint has deprecated the 'tflint FILE/DIR' syntax #95

Merged

Conversation

WolverineFan
Copy link
Contributor

@WolverineFan WolverineFan commented Apr 27, 2023

Description

tflint version v0.46.0 deprecates support for the tflint FILE/DIR command-line syntax. It has been replaced with tflint --chdir DIR --filter FILE. See terraform-linters/tflint#1687 for more details.

Documentation

TODOs

Please ensure all of these TODOs are completed before asking for a review.

  • Ensure the branch is named correctly with the issue number. e.g: feature/new-vpc-endpoints-955 or bug/missing-count-param-434.
  • Update the docs.
  • Keep the changes backward compatible where possible.

Related Issues

Fixes #94

@gcagle3
Copy link

gcagle3 commented May 12, 2023

@WolverineFan could you rebase and pull in the recent changes from PR #92? We'd like to preserve the functionality from that PR to pass custom arguments, but would also like to implement your fix. Thanks in advance!

@WolverineFan
Copy link
Contributor Author

@gcagle3 I created this after #92 was merged. It's already included

@gcagle3
Copy link

gcagle3 commented May 12, 2023

Oh splendid! Let me run the tests real quick and then we can move this along.

Copy link

@gcagle3 gcagle3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@gcagle3 gcagle3 merged commit 62acdd0 into gruntwork-io:master May 12, 2023
joelbcastillo added a commit to Hyperfine/pre-commit that referenced this pull request Oct 25, 2023
* 'master' of ssh://github.com/gruntwork-io/pre-commit:
  [skip ci] Removing former Grunts (gruntwork-io#101)
  [skip ci] git-xargs programmatic commit (gruntwork-io#99)
  tflint has deprecated the 'tflint FILE/DIR' syntax (gruntwork-io#95)
  Add support to use args in tflint (gruntwork-io#92)
  Add a golangci-lint hook (gruntwork-io#93)
  Add sentinel fmt hook (gruntwork-io#89)
  Ignore hash links (gruntwork-io#86)
  Update CODEOWNERS (gruntwork-io#85)
  Update deprecated circleci images to latest (gruntwork-io#72)
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

Successfully merging this pull request may close these issues.

Fix tflint deprecation warning - "tflint FILE/DIR" is deprecated
3 participants