thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Advanced

Sentinel

HashiCorp's policy-as-code framework that enforces rules on Terraform runs in HCP Terraform and Terraform Enterprise.

Definition

Sentinel policies run between plan and apply with enforcement levels advisory, soft-mandatory (overridable), and hard-mandatory. HCP Terraform also supports OPA policies.

Example

A hard-mandatory policy blocks EC2 instance types larger than m5.xlarge.

Exam tip

Know the three enforcement levels and that Sentinel runs after plan, before apply.

Related terms