New Terraform Tutorial: Deploy Infrastructure with the Terraform Cloud Operator for Kubernetes
Learn how to use the Terraform Cloud Operator for Kubernetes to manage the infrastructure lifecycle through a Kubernetes custom resource.
The Terraform Cloud Operator for Kubernetes (Operator) allows you to manage the lifecycle of cloud and on-premises infrastructure from within the Kubernetes control plane. Our new tutorial, Deploy Infrastructure with the Terraform Cloud Operator for Kubernetes, will guide you through deploying the Operator to your Kubernetes cluster and using it to provision application-related infrastructure
The Operator uses a Kubernetes Custom Resource Definition (CRD) to manage Terraform Cloud workspaces. These workspaces execute a Terraform Cloud run to provision Terraform modules. The Operator uses Terraform Cloud's state handling and locking, sequential execution of runs, and established patterns for injecting secrets and provisioning resources.

» Get Started
In this tutorial, you will configure and deploy the Operator to a Kubernetes cluster and use it to create a Terraform Cloud workspace. You will also use the Operator to provision a message queue that the example application needs for deployment to Kubernetes.
» Learn More
Visit the following resources to learn more about the Terraform Cloud Operator for Kubernetes.
- Check out the hashicorp/terraform-k8s repository to learn more about the Operator and its design.
- Learn more about the Operator helm chart in the hashicorp/terraform-helm repository. For more detail, check out example Workspace specifications.
- Watch a demo of the Operator, at Demo: GitOps configuration using the Terraform Cloud Operator for Kubernetes or Demo: HashiCorp Terraform Operator for Kubernetes.
- Discover more about managing Kubernetes with Terraform with the tutorials on HashiCorp Learn.
For even more news about our latest tutorials being added to HashiCorp Learn, follow @HashiCorp on Twitter.
Sign up for the latest HashiCorp news
More blog posts like this one

Build secure, AI-driven workflows with Terraform and Vault MCP servers
At AWS Summit New York, HashiCorp introduced new capabilities that bring Terraform, Vault, and Vault Radar into the age of AI agents — advancing secure, automated infrastructure through composable, agentic systems.

Terraform without writing code: How to build self-service with no-code modules
Terraform no-code modules are an advanced infrastructure as code best practice that helps everyone in the org use standard, approved modules, even if you don’t know Terraform.

Helvetia’s journey building an enterprise serverless product with Terraform
What started as a basic compliance challenge for one team at Helvetia Insurance evolved into a comprehensive enterprise solution for running self-managed installations like a cloud service, using Terraform to manage a serverless architecture.