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

Feature - Support a --fix that will resolve certain issues that can be fixed #3123

Open
2 tasks done
kddejong opened this issue Mar 27, 2024 · 1 comment
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@kddejong
Copy link
Contributor

Is this feature request related to a new rule or cfn-lint capabilities?

New capability

Describe the feature you'd like to request

With v1 we are providing more information that could be used to drive a --fix command that will automatically fix a template.

Describe the solution you'd like

I can provide a --fix command to cfn-lint which would rewrite the template with any corrections that could be made. Its not that all issues need to be resolved but if we can fix it we should try to.

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
@PatMyron
Copy link
Contributor

tflint implemented similar last year by adding optional functionality to rules: terraform-linters/tflint#1755

Interesting discussion there on parallelization/idempotency/race conditions: terraform-linters/tflint#266 (comment)

@kddejong kddejong added the enhancement New feature or request label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants