Write a Sentinel policy for a Terraform deployment
Create filters and rules for your governance requirements with the Sentinel policy language.
AGL Energy is Australia’s largest private developer of renewable energy assets. Learn how it uses Terraform Enterprise and Sentinel policy as code in a GitOps workflow.
Create filters and rules for your governance requirements with the Sentinel policy language.
Create and upload a Sentinel policy set. Apply the policy set to your HCP Terraform organization.
Use Terraform preconditions and HCP Terraform native OPA support to validate configuration and enforce compliance with organizational practices.
Sentinel policies can be created for every stage of the Terraform workflow, including the configuration, plan, run, and state.
Policy sets are collections of Sentinel or OPA policies you can apply to your workloads in HCP Terraform.
An important part of the test process is mocking the data that you wish your policies to operate on.
In this video, HashiCorp Co-Founder and CTO Armon Dadgar explains Sentinel.