Skip to main content

IaCM FAQs

Can we use multiple workspaces in a single stage?

No, a single stage is limited to one workspace. However, a pipeline can include multiple stages, and each stage can be configured to reference a different workspace. This allows you to structure your pipeline to handle multiple workspaces by chaining stages, each performing specific tasks on its assigned workspace.

Can drift detection incur additional costs?

No, usage charges are only incurred when an apply changes resources. The plan command and drift detection are free.

Can the same module be used with OpenTofu and Terraform?

Yes, modules are agnostic and can be used with either an OpenTofu or Terraform provisioner.

Drift detection questions

Does drift detection behave the same for OpenTofu and Terraform?

No, drift detection behaves differently for OpenTofu and Terraform.

Harness uses OpenTofu's tofu plan -refresh-only for drift detection, which is more sensitive to any changes outside of OpenTofu—including metadata like updated_at—and treats all such changes as drift. This is by design in OpenTofu. In contrast, a normal tofu plan (and its Harness Step) only reports changes that affect your actual infrastructure, ignoring irrelevant differences. This means drift detection with OpenTofu may show more changes than you might expect, but these are set by OpenTofu’s approach.