Support Terraform/OpenTofu State Management Operations in IaCM Pipelines
B
Burnt sienna Horse
Description
Enable native support for Terraform/OpenTofu resource state-management operations within Harness IaCM pipelines.
Some infrastructure automation workflows require temporarily removing existing resources from Terraform/OpenTofu state and subsequently re-importing them, without destroying the underlying infrastructure.
Currently, these workflows may require modifications to Terraform/OpenTofu configuration files or custom CLI execution steps.
Native support within Harness IaCM would help customers incorporate these operations into their existing automated pipelines, without relying on local CLI execution or maintaining additional custom scripting.
Desired Capabilities
- Support resource-level state removal and re-import operations in IaCM pipeline workflows.
- Allow these operations without requiring temporary changes to infrastructure configuration files.
- Support repeatable, automated execution through Harness pipelines.
- Reduce dependency on custom CLI execution and maintenance.
- Preserve existing infrastructure when resources are removed from state.
Customer Value
This enhancement would simplify Terraform/OpenTofu state management, reduce operational overhead, and improve the maintainability and scalability of infrastructure automation workflows.