What are Sentinel enforcement levels?
IntermediateProductionTesting and Policy as Code
Answer
Sentinel is HashiCorp's policy language for HCP Terraform and Terraform Enterprise. Policies in a policy set are advisory (warn only), soft-mandatory (block unless an authorised user overrides) or hard-mandatory (block always). Start new policies as advisory, measure noise, then escalate.
More on Testing and Policy as Code
How do you test infrastructure code, and what does the testing pyramid look like?BeginnerWhat does the static-analysis layer catch?BeginnerWhat does tflint do, and how is it configured?BeginnerHow do Checkov and Trivy differ?IntermediateHow does `terraform test` work?BeginnerHow do mock providers work in `terraform test`?Advanced