Running checks against terraform state
See original GitHub issueIs your feature request related to a problem? Please describe.
For some features of terraform e.g. for_each
, I would like to evaluate our custom checks against a terraform plan (in a pull request) and against the terraform state (after terraform apply
and changes have been merged to our default branch). I can currently perform the custom checks against a terraform plan, but not a terraform state
Describe the solution you’d like Support terraform state (in json format), similar to how a Terraform plan is supported
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Run States and Stages - Terraform Cloud
Each run passes through several stages of action (pending, plan, cost estimation, policy check, apply, and completion), and Terraform Cloud shows the progress ......
Read more >Managing Terraform State - Best Practices & Examples
Learn how to manage Terraform State. See best practices for storing, organizing, and isolating your state files.
Read more >How to manage Terraform state - Gruntwork Blog
A Terraform backend determines how Terraform loads and stores state. The default backend, which you've been using this entire time, is the local...
Read more >7 Terraform Security Best Practices - Cycode
Running pre-apply checks in an automated pipeline helps ensure that an apply action will not cause regressions in security; this is done by...
Read more >The Ultimate Terraform Commands Cheat Sheet - A Cloud Guru
Another good way to check your work is to use the state command. If you use state and then the subcommand list ,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hmm. interesting. would you mind sharing an anonymized state (without sensitive data ) for testing purposes?
Closing issue due to inactivity. If you feel this is in error, please re-open, or reach out to the community via slack: https://slack.bridgecrew.io Thanks!