Relative Content

Tag Archive for oparegoconftest

OPA rego check for tags in AWS Resources from Terraform JSON

I am trying to write a policy where I want to enforce tags to exist on AWS resources using Open Policy Agent (OPA). I am attempting to parse the JSON output of a run of terraform plan in order to enforce policies on new resources in the root module.