Celebrating One Year of OpenTofu with Exciting 1.9.0 Release Features
OpenTofu Celebrates One Year with a Major Update
On January 10, 2025, Spacelift's engineering VP, Wojciech Barczynski, took to the company's blog to announce the release of OpenTofu version 1.9.0 and to commemorate the first anniversary of this powerful open-source project. OpenTofu, initially created as a community-driven initiative to provide an alternative to Terraform, has matured into a robust framework for infrastructure management, supported by industry leaders and a dedicated community of developers.
Barczynski emphasized the commitment of Spacelift to OpenTofu, noting, "By supporting OpenTofu, we're championing a tool that integrates seamlessly with our platform while also investing in a future enriched by open-source solutions across the industry." This commitment aims to enhance accessibility, efficiency, and developer-centric features within infrastructure management tools.
New Features in OpenTofu 1.9.0
The 1.9.0 release comes with two significant enhancements that promote cleaner code and better resource planning:
1. Provider Configuration Blocks with `for_each`: One of the major pain points for developers managing deployments across multiple regions or zones is the complexity of provider configurations. The introduction of the `for_each` feature allows users to iterate over providers, eliminating the need for repetitive code. This means less clutter and more manageable codebases.
2. `-exclude` Planning Option: The newest version also introduces the `-exclude` flag, enabling users to include all resources except for specific ones they wish to omit from planning and application processes. This feature, which was highly requested by users, enhances the overall flexibility of resource management in OpenTofu.
Furthermore, 1.9.0 includes various bug fixes and operational improvements that enhance user experience significantly. Detailed release notes can be found on GitHub.
Milestones Over the Past Year
The anniversary also serves as a reflection on the key milestones achieved by the OpenTofu community over the past year. The journey began with version 1.6, which laid the foundation for the stable series and introduced the OpenTofu Registry designed for modules and providers alongside command-line support.
In January 2024, the release of version 1.7 marked a notable milestone with features such as state encryption, and the implementation of dynamic provider-defined functions that aimed to improve code readability and usability. Later, version 1.8 introduced enhancements for better maintainability, showcasing significant progress in simplifying user interactions with the framework.
In addition to the software updates, the OpenTofu community celebrated its journey with events like OpenTofu Day at KubeCon + CloudNativeCon 2024, sponsored by Spacelift. Around 400 attendees gathered to explore infrastructure as code (IaC) concepts, discuss the release roadmap, and share best practices.
Spacelift's commitment to the OpenTofu project will continue as they step up as a Diamond Sponsor for the upcoming OpenTofu Day in Europe on April 1, 2025, further solidifying their dedication to supporting the open-source ecosystem.
About Spacelift
For those unfamiliar, Spacelift is an innovative platform focused on orchestrating the entire lifecycle of infrastructure management, from provisioning to governance. By integrating seamlessly with popular tools like Terraform, OpenTofu, CloudFormation, Pulumi, and Ansible, Spacelift establishes a unified workflow that ensures secure and efficient management of infrastructure resources.
With options for deployment automation, configuration management, and developer self-service capabilities, Spacelift is designed to enhance developer productivity while maintaining strict control and governance over infrastructure environments. To experience Spacelift first-hand, interested individuals can sign up for a demo or a free trial on their official website, Spacelift.io.