How Tos

Master Infrastructure as Code with practical technical guides and tutorials.

View all
Blogs
Videos
Case Studies
New Features
Ebooks
Webinars
Terraform
OpenTofu
How Tos
News
env0 Workflows: Simplifying Advanced IaC Setups and Managing Dependencies

env0 Workflows: Simplifying Advanced IaC Setups and Managing Dependencies

env0 Workflows provides a structured approach to managing groups of related environments and their dependencies. Learn how you can use it to streamline complex IaC deployments.
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.
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.
Take Control of IaC Costs With env0 (Free Whitepaper Inside)

Take Control of IaC Costs With env0 (Free Whitepaper Inside)

Discover how env0 helps you effectively manage and optimize Infrastructure as Code costs, ensuring efficient cloud spending at scale.
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.
Use Our New Navigation to Simplify IaC Project Management

Use Our New Navigation to Simplify IaC Project Management

We are thrilled to announce an upgrade to the navigation experience on the env0 platform, designed to make project management smoother and more intuitive.
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 2025

Top Terraform Tools to Know in 2025

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!
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.
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.
No items found.