Terraform How-tos (FirstGen)
Harness has first-class support for HashiCorp Terraform as an infrastructure provisioner.
Set Up Your Harness Account for Terraform
Set up the Harness Delegates, Cloud Providers, and Source Repo Providers for Terraform integration.
Add Terraform Scripts
Set up a Harness Infrastructure Provisioner for Terraform.
Map Dynamically Provisioned Infrastructure using Terraform
Use the Terraform Infrastructure Provisioner to create a Harness Infrastructure Definition.
Provision using the Terraform Provision Step
Provision infra in Harness Workflows.
Using the Terraform Apply Command
Use the Terraform Apply step to perform Terraform operations at any point in your Workflow.
Perform a Terraform Dry Run
Execute Terraform Provision and Terraform Apply steps as a dry run.
Remove Provisioned Infra with Terraform Destroy
Remove any provisioned infrastructure.
Use Terraform Outputs in Workflow Steps
Use variable expressions to reference Terraform outputs.