Skip to content

Evaluate Open Policy Agent for Terraform compliance tests

Notifications You must be signed in to change notification settings

rrey/terraform-opa

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform & OPA

Quickstart

make test

Generate Terraform plan

$ terraform plan -out plan.out

Generate the JSON plan

terraform show -json plan.out > plan.json

Test the plan against a policy

$ conftest test plan.json

About

Evaluate Open Policy Agent for Terraform compliance tests

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published