Terraform Cloud Get Started - Enforce a Sentinel Policy

This is a companion repository for the Enforce a Policy tutorial on HashiCorp Learn. It contains an example Sentinel policy and policy set to enforce minimum Terraform versions for Terraform runs.

Note We have added a few additional third generation Azure and third generation Cloud Agnositc Policies as part of an Azure demo.

The sentinel.hcl file lists the policies and their respective enforcement levels.

How to use

Please create a Sentinel Policy-set linking to this repo, and associate the Policy Set to one or more TFC/TFE Workspace. Please see the above learn guide for a full walk-thru.