Skip to main content

HCP Terraform adds project-level run tasks

HCP Terraform now supports project-level run tasks, enabling organizations to apply security, compliance, and operational guardrails consistently across groups of workspaces while reducing manual overhead.

»HCP Terraform adds project-level run tasks

Summary: HCP Terraform now supports project-level run tasks, enabling organizations to apply security, compliance, and operational guardrails consistently across groups of workspaces while reducing manual overhead.

Organizations increasingly rely on HCP Terraform Projects to organize infrastructure by application, business unit, or environment. As infrastructure adoption scales across teams, platform administrators need governance controls that align naturally with how infrastructure is organized — without introducing operational complexity.

Today, we are excited to announce project-level run tasks for HCP Terraform, now available in public beta. This new capability enables organizations to configure and enforce run tasks at the project scope, helping teams standardize security, compliance, and operational workflows across collections of workspaces.

»Terraform run tasks

Terraform run tasks let you directly integrate third-party tools and services at certain stages in the HCP Terraform run lifecycle. Previously in HCP Terraform, run tasks could only be configured at the organization or workspace level. While these controls worked well for smaller deployments, they did not align with how most organizations naturally structure infrastructure at scale. Projects serve as the organizational layer between Organizations and Workspaces in HCP Terraform, allowing teams to group infrastructure by application, business unit, or environment.

For platform teams managing hundreds or thousands of workspaces, this limitation created operational friction. Organizations often require different governance standards across environments — such as stricter security and compliance checks for production workloads — but enforcing those controls required manually configuring and maintaining run tasks for individual workspaces. As environments scaled over time, this increased operational overhead and made it harder to maintain consistent governance across infrastructure deployments.

»Introducing project-level run tasks

To address these challenges, we are excited to introduce project-level run tasks in HCP Terraform. Project-level run task configuration bridges the gap between global and workspace-specific settings by allowing enforcement to inherit automatically within a given project. Organization owners can now apply run tasks to specific projects, ensuring that any workspace created in or moved into that project instantly meets the required controls. This provides platform teams with a unified view of enforced tasks while still allowing for granular exclusions where necessary to maintain operational flexibility.

Project-level run tasks

You can now scope tasks to selected projects

By extending run task enforcement to the project scope, organizations can scale governance more consistently across infrastructure environments while reducing manual overhead for platform teams:

  • Improve speed and scalability: Platform teams can reduce manual workspace-by-workspace configuration and simplify governance enforcement as new workspaces are created or moved between projects.

  • Reduce risk and improve consistency: Automatically inheriting run task controls at the project level helps minimize configuration drift and ensures security, compliance, and operational standards are applied consistently across environments.

»Next steps

This feature is now available in HCP Terraform and coming soon to Terraform Enterprise. Please refer to Terraform’s run task documentation for details on getting started.

If you are new to Terraform, you can get started with HashiCorp-managed HCP Terraform for free to begin provisioning and managing your infrastructure in any environment. And don’t forget to link your HCP Terraform and HashiCorp Cloud Platform (HCP) accounts for a seamless sign-in experience.

More posts like this