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 |
liamcervante
left a comment
There was a problem hiding this comment.
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