OpenTofu
A community-driven Infrastructure as Code tool that serves as a drop-in replacement for Terraform, enabling reliable and flexible cloud resource management with version control and collaboration features.
OpenTofu is an open-source alternative to:

OpenTofu
OpenTofu is a reliable, flexible, community-driven infrastructure as code tool under the Linux Foundation's stewardship. It serves as a drop-in replacement for Terraform, preserving your existing workflows and configurations.
With a thriving ecosystem of 3,900+ providers and 23,600+ modules, you can build and manage infrastructure across every cloud platform with confidence.
Key Features
- Drop-in Terraform replacement: Compatible with existing Terraform configurations and workflows
- Exclusion flag: Selectively exclude resources from operations with the
-excludeflag for better testing and rollouts - Provider iteration with
for_each: Dynamically generate provider configurations for multi-region, multi-environment, and cross-cloud deployments - Extensive ecosystem: Access to 3,900+ providers and 23,600+ modules for comprehensive cloud infrastructure management
- Version control integration: Track infrastructure changes alongside application code
- Community-driven development: Stewarded by the Linux Foundation with active community participation
- Multi-cloud support: Manage resources across AWS, Azure, Google Cloud, and other platforms
- Collaborative workflows: Enable team collaboration with shared infrastructure definitions
Tech / Self-Hosting
OpenTofu is open-source software that can be self-hosted. It requires:
- Runtime: Go programming language
- Dependencies: Cloud provider SDKs and APIs
- Deployment: Can be installed on any system supporting Go applications
- Configuration: Managed through HCL (HashiCorp Configuration Language) files
The project is licensed under the Mozilla Public License 2.0 and is actively maintained by the OpenTofu community.