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

HashiCorp at Microsoft Build 2025: New products to automate, secure, and scale on Azure
Learn about the latest news from the HashiCorp and Microsoft ecosystems as we kick off Microsoft Build 2025 this week.

HCP Terraform adds public Terraform module and provider management via organizations
You can now manage your Terraform Registry artifacts within your HCP Terraform organization, simplifying and securing the ownership and management process.

Terraform AWS provider tops 4 billion downloads, 6.0 now in public beta
HashiCorp and AWS continue to support the widespread demand for standardized infrastructure lifecycle management with the Terraform AWS provider 6.0.