-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
terraform fmt: add .tfmock.hcl as a supported file extension #34580
terraform fmt: add .tfmock.hcl as a supported file extension #34580
Conversation
@liamcervante the suggested fix for #34577 is ready to be reviewed. I added some test cases using mock AWS data sources and resources (I saw many already in the tests) |
Hi @HenriBlacksmith, the implementation and the new test cases look fine to me. Thanks so much for putting this together. I just noticed, however, that the new test cases aren't actually executing. If you look at the test file you can see it's only checking things with the I didn't notice this before, so I can take full responsibility for it being missed here. But, could you copy the existing test case Hopefully that makes sense! Thanks again! |
Sure, will have a look at this and fix asap, thanks for checking this (I should have checked test results carefully) |
@liamcervante I added the new test case dedicated to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! We will backport this into v1.7, so it should be released within 1.7.2. Thanks for your contribution!
Reminder for the merging maintainer: if this is a user-visible change, please update the changelog on the appropriate release branch. |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Fixes #34577