env0 and Terraform

Learn about how env0 and Terraform work together.

View all
Blogs
Resources Center
Videos
Case Studies
New Features
Terraform
OpenTofu
How Tos
News
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.
Terraform Destroy Command: A Guide to Controlled Infrastructure Removal

Terraform Destroy Command: A Guide to Controlled Infrastructure Removal

In this post, we cover best practices and considerations to ensure the effective and safe execution of 'terraform destroy' within your infrastructure management processes.
Environment Discovery: Automatic Environment Creation from Your Git Workflow

Environment Discovery: Automatic Environment Creation from Your Git Workflow

With Environment Discovery, you can maintain your directory-based structure in your VCS. This enables you to use your existing approval workflows, take advantage of CodeOwners, ensure auditability, and stay aligned with Infrastructure as Code (IaC) best practices!
Top Infrastructure as Code Tools and Terraform Alternatives

Top Infrastructure as Code Tools and Terraform Alternatives

In this post, we've selected a range of the most popular IaC tools to provide a quick overview of the IaC ecosystem and help you find the option best suited for your organization or project.
Using Terraform, Kubernetes, and Helm: The Power Trio

Using Terraform, Kubernetes, and Helm: The Power Trio

Learn how to use env0 to create a unified platform that combines Kubernetes scalability with Terraform's provisioning strength and Helm's deployment dexterity!
Terraform for_each: Examples, Tips and Best Practices

Terraform for_each: Examples, Tips and Best Practices

Looping constructs provide a way to generate similar resources dynamically based on a collection or count. Learn how to use 'terraform for_each' for efficient infra management.
Terraform Registry Guide: Tips, Examples and Best Practices

Terraform Registry Guide: Tips, Examples and Best Practices

The Terraform registry is an essential asset for every Terraform user. In this blog, we provide a practical guide for how it can be used to streamline and standardize cloud infrastructure provisioning.
Switch from Terraform Cloud in Minutes with Our New Migration Tool

Switch from Terraform Cloud in Minutes with Our New Migration Tool

Born out of frequent customer requests, our TFC migration tool simplifies and accelerates the transfer from Terraform Cloud to env0, at any scale. Visit here to see it in action.
Top Terraform Tools to Know in 2024

Top Terraform Tools to Know in 2024

Discover the top Terraform tools for 2024, each with unique benefits that enhance various aspects of your Terraform experience.
Terraform vs AWS CloudFormation: An In-Depth Comparison

Terraform vs AWS CloudFormation: An In-Depth Comparison

In this post, we'll compare Terraform and AWS CF, discuss their pros and cons, and demonstrate how they can be used with env0, leveraging the platform’s multi-framework support.
Terraform Apply Command: Options, Examples and Best Practices

Terraform Apply Command: Options, Examples and Best Practices

A comprehensive guide to the terraform apply command, featuring use cases, options, examples and best practices!
Announcing Self-Hosted Remote State and Remote Apply

Announcing Self-Hosted Remote State and Remote Apply

We introduce two new improvements to our ‘Remote Backend’ - ‘Self-Hosted Remote State’ and ‘Remote Apply’, both addressing common requests from our customers.
Unpacking OpenTofu: Expert Panel on GA Release, Licensing, and OSS Future

Unpacking OpenTofu: Expert Panel on GA Release, Licensing, and OSS Future

In this ‘X Space’ panel industry experts explore OpenTofu's journey, licensing considerations in engineering, and Infrastructure-as-Code OSS future.
Celebrating OpenTofu GA With Our New CI Testing Feature!

Celebrating OpenTofu GA With Our New CI Testing Feature!

OpenTofu is now generally available as a stable, tested, production-ready Terraform alternative! To support the release we are rolling CI Testing, leveraging the new 'tofu test' capability!
OpenTofu: The Open Source Terraform Alternative

OpenTofu: The Open Source Terraform Alternative

In this post, we delve into OpenTofu and answer all of the most frequently asked questions about the project.
Ansible vs Terraform: Choose One or Use Both?

Ansible vs Terraform: Choose One or Use Both?

In this blog post, we will compare the two tools, and then consider examples of how to use them together for a more efficient and comprehensive approach to infrastructure management.
A Complete Guide  to Terraform Cloud Pricing

A Complete Guide to Terraform Cloud Pricing

In this guide, we will take a deep dive into TFC's new pricing model, review its implications and discuss the pros and cons of the new pricing scheme.
OpenTofu Release Candidate Drops, env0 Wraps It Up With Terragrunt Support

OpenTofu Release Candidate Drops, env0 Wraps It Up With Terragrunt Support

OpenTofu release candidate is out and we also rolled out env0 support for Terragrunt in OpenTofu deployments! GA is scheduled for Jan 10th.
How to Manage Terraform Locals

How to Manage Terraform Locals

All programming languages have a way to express and store values within the context of a code block. In the case of Terraform, that functionality is delivered through Terraform locals.