OpenTofu

Latest OpenTofu news, updates from the team, related features and more.

View all
Blogs
Resources Center
Videos
Case Studies
New Features
Terraform
OpenTofu
How Tos
News
OpenTofu 1.9 Introduces the 'exclude' Flag and ‘for_each’ for Providers

OpenTofu 1.9 Introduces the 'exclude' Flag and ‘for_each’ for Providers

The OpenTofu 1.9 release introduces updates to make infrastructure management more efficient. Key additions include the -exclude flag and for_each functionality for providers.
Build vs. Buy: Striking the Right Balance for IaC Management 

Build vs. Buy: Striking the Right Balance for IaC Management 

The "build vs. buy" debate shapes IaC automation. This post examines the challenges of scaling IaC with general tools like GitHub Actions and how platforms like env0 offer solutions.
Top DevOps Tools for Infrastructure Automation in 2025

Top DevOps Tools for Infrastructure Automation in 2025

Explore the top DevOps tools for infrastructure automation, designed to streamline workflows, boost efficiency, and simplify cloud management.
Terraform Map Variable: A Complete Guide with Practical Examples

Terraform Map Variable: A Complete Guide with Practical Examples

In this blog, we’ll explain what Terraform maps are, explore their use cases, and share practical examples and best practices for effectively using them—and more.
Meet Us in Salt Lake for KubeCon 2024 (and OpenTofu Day)!

Meet Us in Salt Lake for KubeCon 2024 (and OpenTofu Day)!

We’re thrilled to be part of this year’s KubeCon, the leading cloud-native event, happening from November 12th to 15th at Salt Lake City. Come see us at Booth P6
Terraform Workspaces Guide: Commands, Examples and Best Practices

Terraform Workspaces Guide: Commands, Examples and Best Practices

This blog post covers Terraform workspaces, commands, best practices, practical examples, and more.
Streamlining env0 Onboarding with Environment Discovery

Streamlining env0 Onboarding with Environment Discovery

The latest upgrade to our Environment Discovery feature improves how you onboard your existing environments to env0, making the process quicker and smoother than ever before!
OpenTofu Registry Guide: Tips, Examples, and Ways to Contribute

OpenTofu Registry Guide: Tips, Examples, and Ways to Contribute

The OpenTofu registry UI is now live! To mark this occasion, here's a quick guide to help you explore its use cases, key features, and ways to contribute.
The Four Stages of Terraform Automation

The Four Stages of Terraform Automation

In this blog post, we'll explore the four stages of Terraform and OpenTofu automation, providing a roadmap as you look to scale your IaC practices.
Terraform Lookup Function: Examples, Use Cases and Best Practices

Terraform Lookup Function: Examples, Use Cases and Best Practices

The Terraform/OpenTofu 'lookup' function helps maintain clean, DRY, and reusable code. In this blog, we'll explore the various scenarios where the 'lookup' function can be used, and provide some practical examples for both common and more advanced use cases.
Terraform Count Meta-Argument: Indexing, Examples and Use Cases

Terraform Count Meta-Argument: Indexing, Examples and Use Cases

In this blog, we’ll learn more about count, describe its use cases, and show how you can use it to create multiple resources with ease - with or without conditional expressions.
OpenTofu v1.8: A Detailed Look at the Upcoming Release

OpenTofu v1.8: A Detailed Look at the Upcoming Release

As OpenTofu quickly nears its next stable release, we delve into its new features, discuss their use cases, and explore the challenges they will address for OpenTofu users.
Terraform Validate Command: Practical Examples and Best Practices

Terraform Validate Command: Practical Examples and Best Practices

The 'validate' command helps you check the syntax of your Terraform or OpenTofu code before deployment. Learn how to use it effectively for seamless infrastructure provisioning.
How to Use tenv to Streamline IaC Version Management

How to Use tenv to Streamline IaC Version Management

tenv is a version manager for Terraform, OpenTofu, Terragrunt, and Atmos, written in Go. Check out this post to see how it works.
Terraform Dynamic Blocks: Advanced Use Cases and Examples

Terraform Dynamic Blocks: Advanced Use Cases and Examples

Learn how to use dynamic blocks in Terraform and OpenTofu, to create adaptable configurations based on input values.
Terraform Functions Guide: Complete List with Detailed Examples

Terraform Functions Guide: Complete List with Detailed Examples

Terraform functions are essential for creating effective infrastructure code. In this blog post, we'll provide a 360° review of Terraform/OpenTofu functions, with practical and detailed examples.
Environment Output Variables: Easy and Secure Output Piping

Environment Output Variables: Easy and Secure Output Piping

Our latest feature enhances env0 Workflows, simplifying sharing outputs of one environment with another in the same project or workflow, and storing them securely on the env0 platform. 
Terraform Best Practices: State Management, Reusability, Security and Beyond

Terraform Best Practices: State Management, Reusability, Security and Beyond

In this blog, we will discuss best practices you should follow for writing clean, scalable, and efficient Terraform code, and how to achieve them with env0.
Terratest vs Terraform/OpenTofu Test: In-Depth Comparison

Terratest vs Terraform/OpenTofu Test: In-Depth Comparison

Why should you test your IaC? And how does the Terraform Test Framework compare to Terratest? That's what we're going to explore in this article.
Terraform Output Command: Examples, Tips and Best Practices

Terraform Output Command: Examples, Tips and Best Practices

A practical in-depth guide on Terraform outputs with detailed examples, advanced use cases, and more.
OpenTofu v1.7: Enhanced Security with State File Encryption

OpenTofu v1.7: Enhanced Security with State File Encryption

The launch of OpenTofu 1.7 brings a highly anticipated update: state file encryption. In this post, we take a deep dive into this feature and other new improvements.
Terraform Files and Folder Structure: Organizing Infrastructure-as-Code

Terraform Files and Folder Structure: Organizing Infrastructure-as-Code

Discover best practices for Terraform configuration files and folder structures to optimize your IaC workflow and avoid future complex reorganizations.