← All stories
● Covered by 1 source · 1 reportMedium impact1 neutral

HashiCorp Introduces tfpolicy, an HCL-based Policy-as-Code Framework for Terraform

🔄 Updated 1d ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • tfpolicy is a new HCL-based policy-as-code framework.
  • It is available in public beta within HCP Terraform.
  • Integrates policy enforcement directly into Terraform workflows.
  • Evaluates policies before and after deployment.

New Policy Framework for Terraform

HashiCorp has introduced tfpolicy, a new policy-as-code framework for Terraform. This framework is now available in public beta within HCP Terraform. It is designed to modernize infrastructure governance by embedding policy creation and enforcement directly into existing Terraform workflows.

HCL-based and Integrated

tfpolicy is a declarative, HCL-based framework, allowing platform teams to define and enforce policies using the same language used for Terraform infrastructure. This deep integration reduces the need for separate tools and languages, enabling teams to manage policies within their familiar Terraform environment. Policy evaluation occurs both before and after deployment, allowing enforcement based on actual infrastructure state.

Addressing Modern Infrastructure Complexity

HashiCorp states that existing policy solutions often lack external context, such as resource relationships, which can change during the infrastructure lifecycle. tfpolicy addresses this by evaluating policies based on relationships between resources and incorporating external context through data source lookups. This approach is intended for modern infrastructure that spans multiple clouds and services.

Supply Chain Risk Mitigation

The new framework also includes capabilities to address supply-chain risks. It enables control over provider and module downloads, helping organizations establish approved dependency controls. This feature aims to prevent the accidental use of unapproved providers or modules, enhancing security within the infrastructure supply chain.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 15

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

HashiCorp has launched tfpolicy, a new HCL-based policy-as-code framework for Terraform, now in public beta within HCP Terraform. This framework integrates policy creation and enforcement directly into Terraform workflows, aiming to simplify infrastructure governance by using the same language and workflow as infrastructure provisioning.