Sentinel

HashiCorp's policy-as-code language, which HCP Terraform uses to check every plan against rules before it can apply.

In more detail

Sentinel policies are grouped into policy sets with an enforcement level: advisory warns, soft mandatory blocks until someone with permission overrides it, and hard mandatory blocks with no override. Open Policy Agent is the other framework HCP Terraform supports.

Example

enforcement_level = "soft-mandatory"

Related terms

Taught in

References

Certification courses