Skip to content

Conversation

@timonegk
Copy link

This PR adds the json kind as an ignore rule. This rule parses JSON in resource attributes and, if valid, compares the parsed objects. I personally used it for refactoring ElasticSearch objects where templates and policies are stored in JSON. I found that example too unusual to use it in the docs, so I simply used local_file there.

Currently, when the object cannot be parsed as JSON, the rule simply returns false. It could be better to resort to string comparison, but I'm not sure what the expected behavior would be.

Signed-off-by: Timon Engelke <[email protected]>
@timonegk timonegk requested a review from busser as a code owner September 18, 2025 14:55
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.

1 participant