Pipeline Operations
Enhance your IaCM pipelines with approvals, drift detection, PR automation, and more.
Harness IaCM pipelines support several operational features that help you manage infrastructure changes safely and efficiently. These operations integrate into your provision workflows to add approval gates, score deployment risk with AI analysis, detect configuration drift, automate pull request reviews, and prevent concurrent execution conflicts.
This guide covers the available pipeline operations and when to use each one.
Before you begin
Harness account with IaCM enabled: You need Infrastructure as Code Management under Infrastructure in Harness when it is entitled on your account. Go to Getting started with Harness Platform to access or create a Harness account.
Pipeline permissions: You need View, Create/Edit, and Execute for Pipelines. Go to RBAC in Harness to review the permissions model, and go to Manage roles to assign a role that includes them.
Approval permissions (for Approval step): Users who approve or reject plans need Approve permission for the relevant pipeline or stage. Go to Pipeline permissions to review the required permissions, and go to Approvals in Harness to configure the Approval step.
Existing provision pipeline: You need a pipeline with an IaCM stage that includes Plan and Apply steps. Go to Provision workspace to create one.
Available operations
Choose the operation that fits your workflow:
Score deployment risk and visualize resource dependencies from a Terraform or OpenTofu plan
When you want engineers and approvers to see a risk score, plain-language summary, and dependency graph before applying changes
Approval step
Review and approve infrastructure changes before applying them
When you need manual review of Terraform plan output, cost estimates, or policy evaluation before applying changes
Queue step
Serialize pipeline executions targeting the same workspace
When multiple pipelines or triggers could run concurrently against the same workspace, preventing state file conflicts
Drift detection
Identify manual changes made outside of your IaC workflow
When you want to detect resources created or modified directly in the cloud console instead of through code
PR automation
Automatically post Terraform plan output as pull request comments
When your team reviews infrastructure changes via GitHub, GitLab, or Bitbucket pull requests before merging
Operation guides
Select an operation to view the full guide:
Troubleshooting
Next steps
You have reviewed the available IaCM pipeline operations. Choose the operations that fit your team's workflow and add them to your provision pipelines.
Go to AI Blast Radius Agent to score deployment risk and visualize resource dependencies before you apply.
Go to Provision workspace to create a provision pipeline.
Go to Default pipelines to configure reusable pipeline templates.
Go to OPA policies to enforce governance rules during pipeline execution.
Go to CD integration to combine IaCM and CD stages in a single pipeline.
Last updated
Was this helpful?