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

Support parsing resource changes in plan #152

Merged

Conversation

dylanhellems
Copy link
Contributor

@dylanhellems dylanhellems commented Aug 28, 2019

I've run into a couple of situations where non-compliant resources are not caught because they don't show up in the planned_changes block of the output file. Parsing the resource_changes block in the terraform plan output seems to fix the issue. Seems like this was something that was planned anyway from the TODO.

@coveralls
Copy link

coveralls commented Aug 28, 2019

Pull Request Test Coverage Report for Build 515

  • 11 of 11 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.3%) to 78.271%

Totals Coverage Status
Change from base Build 513: 0.3%
Covered Lines: 670
Relevant Lines: 856

💛 - Coveralls

@dylanhellems
Copy link
Contributor Author

The travis-ci build seems to be failing for reasons unrelated to this PR. Let me know if that isn't the case and I can fix it.

@eerkunt
Copy link
Member

eerkunt commented Aug 29, 2019

Thanks for the PR @dylanhellems 🎉

Will fix Travis CI, update your branch and merge it asap.

@eerkunt eerkunt merged commit 3996b95 into terraform-compliance:master Aug 29, 2019
@dylanhellems dylanhellems deleted the search-resource-changes branch August 29, 2019 21:15
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.

3 participants