concept

Sentinel and OPA workflow integration

Compare Sentinel and OPA policies, HCP enforcement modes, run tasks, controlled exceptions and regression tests.

Formal Syntax & Structure

terraform syntaxterraform
Sentinel and OPA workflow integration

Working Example

Example Snippetterraform
import "tfplan/v2" as tfplan
managed = filter tfplan.resource_changes as _, rc {    rc.mode is "managed"}main = rule {    all managed as _, rc {        not (rc.change.actions contains "delete")    }}
Terraform Reference