OpenTofu Infrastructure as Code

OpenTofu Infrastructure as Code

www.opentofu.org

2

About this website

OpenTofu is a free and open-source infrastructure as code (IaC) tool that enables users to define, provision, and manage cloud and on-premises infrastructure using declarative configuration files. Created in September 2023 as a Linux Foundation project in response to Terraform changing its license from MPL-2.0 to the Business Source License, it is a community-driven fork maintained by the OpenTofu Technical Steering Committee. Founding members include Datadog, Harness, HPE, IBM, Oracle, and others. Key features: compatibility: fully compatible with Terraform configurations, state files, and providers. Existing projects can migrate with minimal changes (CLI command is tofu instead of terraform). Declarative configuration: infrastructure is defined in HCL (HashiCorp Configuration Language) or JSON. Resources, data sources, variables, outputs, and modules are declared, and the tool determines the execution plan. Plan and apply: the two-step workflow creates an execution plan showing what will be created, modified, or destroyed before applying changes. State management: tracks current infrastructure state in a state file for incremental changes and drift detection. Supports remote backends (S3, Azure Blob, GCS, Consul). Providers: over 3,000 community and official providers for AWS, Azure, Google Cloud, Kubernetes, Docker, and hundreds of SaaS platforms. Modules: reusable infrastructure templates. Import existing infrastructure. Workspaces for multiple environments. Enhanced features over Terraform: native state encryption, advanced variable handling, and regular expression functions. Go. MPL-2.0.

Tags & Categories

Tags

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!