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
Atlantis: Terraform Pull Request Automation Guide

Atlantis: Terraform Pull Request Automation Guide

Atlantis is a tool that automates Terraform operations through pull requests. It allows developers and operators to collaborate on infrastructure changes without leaving their version control system.
Terraform Plan Command: Examples, Tips and Best Practices

Terraform Plan Command: Examples, Tips and Best Practices

Terraform Plan aims to help you review and verify your configuration before applying it. It gives you a chance to catch any errors or inconsistencies in your terraform code, and to make sure that you are not making any unwanted changes to your infrastructure. It also helps you communicate and collaborate with your team members, by showing them what you intend to do and getting their feedback.
Terraform Modules Guide: Best Practices & Examples

Terraform Modules Guide: Best Practices & Examples

Infrastructure as Code is first and foremost code, and a chief principle of writing good software is leveraging abstractions to make your code reusable, scalable, and consistent. Terraform modules are the abstraction provided by HashiCorp to take logical groupings of resources and package them together in a reusable object.
What is Infrastructure-as-Code? IaC 101

What is Infrastructure-as-Code? IaC 101

Today, organizations are still figuring out how best to implement new IaC practices in their existing DevOps frameworks. This article covers a variety of options for multiple frameworks to support even the most demanding business-critical environments.
Which IaC Scanning Tool is the Best?: Comparing Checkov vs tfsec vs Terrascan

Which IaC Scanning Tool is the Best?: Comparing Checkov vs tfsec vs Terrascan

In this blog post, we will compare three popular IaC scan tools: Checkov, TFsec, and Terrascan. We will compare them based on their features, performance, usability, and compatibility.
What is Checkov: Benefits, Key Features, and Examples

What is Checkov: Benefits, Key Features, and Examples

Checkov works by scanning IaC files for common security and compliance issues, such as open security groups, unencrypted storage buckets, or missing encryption keys.
What is tfsec: Benefits, Key Features, and Examples

What is tfsec: Benefits, Key Features, and Examples

tfsec is a security scanner for your Terraform code. It performs static analysis of your code and detects potential misconfigurations that could lead to security risks.
What is Terrascan: Benefits, Key Features, and Examples

What is Terrascan: Benefits, Key Features, and Examples

Terrascan is a tool that helps you to scan your Infrastructure as Code for security and compliance policy violations. It supports various IaC languages such as Terraform, Kubernetes, Dockerfile, and more.
Comparing Checkov vs. tfsec vs. Terrascan

Comparing Checkov vs. tfsec vs. Terrascan

In this blog post, we examined three of the most popular tools to scan your infrastructure. These are Checkov, tfsec, and Terrascan. We saw the benefits and key features of each tool.
Plan and Apply on PR

Plan and Apply on PR

Many organizations work almost exclusively in their VCS. For these types of GitOps-style workflows, having to change from their VCS to another platform to handle IaC deployments was both time consuming, and represented an unnecessary distraction. Now, with PR Comment Commands, DevOps engineering can seamlessly interact with their env0 IaC deployment and management platform without ever leaving GIT.
Deploying Amazon Elastic Kubernetes Service (AWS EKS) with Terraform

Deploying Amazon Elastic Kubernetes Service (AWS EKS) with Terraform

When you’re deploying any type of code, whether it’s application code or infrastructure code like Terraform, you want an automated way to deploy it. Aside from application and infrastructure automation workflow, you also want a way to manage certain aspects of how you’re deploying your environment. In this blog post, you’ll learn how to deploy an AWS Elastic Kubernetes Service (Amazon EKS) cluster with Terraform using env0.
How to use Terraform locally with the env0 platform

How to use Terraform locally with the env0 platform

Under pressure to use an automated IaC tool but don’t want to deal with the overhead of pushing code for every change? Here’s a step-by-step look at how to use Terraform locally and still have access to all the benefits of the env0 platform.
Recap: 2023 Infrastructure as Code Roundtable

Recap: 2023 Infrastructure as Code Roundtable

A new year and tricky economic times seemed like the perfect opportunity to gather some IaC experts for a conversation about hiring challenges, where we’re headed, and doing more with less. In case you missed our webinar (link), here’s a bit of what I learned in my conversation with Brandt Meyers, enterprise architect with MGM Resorts International, Kat Cosgrove, lead developer advocate at Dell, and Chris Short, senior developer advocate at AWS.
Infrastructure as Code is a Creative Job

Infrastructure as Code is a Creative Job

Some art forms are not appreciated for their aesthetic value, like music, or literature and poetry. Yet, some ways of sharing such artworks are with a written document, e.g. music sheets and lyrics pages for songs. These art forms evolved as well and new genres of the written word came to be. One of those genres is code.
Top 4 Terraform Plugins to Integrate with your Infrastructure-as-Code Workflow in 2023

Top 4 Terraform Plugins to Integrate with your Infrastructure-as-Code Workflow in 2023

Terraform alone isn't enough. To ensure best practices, questions such as "How do we enforce policies?", "How do we lint our code?", and "How do we harden infrastructure security?" must be answered. Here are the top 4 essential Terraform tools that you should consider using in 2023 to enhance your infrastructure management process.
Manage on-prem VMware vSphere with Terraform and env0

Manage on-prem VMware vSphere with Terraform and env0

Infrastructure as Code (IaC) is widely used to deploy into clouds like AWS, Azure, and GCP. It can also be used to manage on-premises VMware vSphere infrastructure. This step-by-step walkthrough and video tutorial shows you how to use env0 with a self-hosted agent to manage on-premises VMware infrastructure directly.
Video Tutorial: How to Migrate from Atlantis to env0

Video Tutorial: How to Migrate from Atlantis to env0

In this video, we'll go through some background on Atlantis and then show you how to migrate from Atlantis to env0, including using the env0 remote backend for Terraform state storage.
Manage Terraform Remote State Using Remote Backend

Manage Terraform Remote State Using Remote Backend

You can now use env0 as your remote backend for Terraform state storage, including migrating your existing remote state from other platforms to env0.
How to make managing multiple Terraform environments easier

How to make managing multiple Terraform environments easier

How many of you have started with Terraform and discovered you need the same code to build multiple environments? Perhaps a dev, stage, and production environment? After researching Workspaces, Branches, and Terragrunt, you aren’t completely satisfied and want to know if there is another way. If you are here, I’ll assume that’s you!
Managing tfvars Files and Terraform Variable Hierarchy

Managing tfvars Files and Terraform Variable Hierarchy

Learn more about Terraform variables, terraform module variables, and ways to DRY out your code with some examples of how to build complex variable hierarchies.
Deploying Prometheus to a Kubernetes Cluster using env0

Deploying Prometheus to a Kubernetes Cluster using env0

Streamlime the process of deploying a Kubernetes cluster and an application to it.
Ad-hoc tasks

Ad-hoc tasks

DevOps engineers sometimes need to perform one-off commands on their Terraform code or state. For example, “terraform import” or “terraform state rm”, or any other Terraform or bash commands. The problem is that it is dangerous to allow users to work directly from a terminal.
State File - What is it, and Where Do I Hide It?

State File - What is it, and Where Do I Hide It?

If you have deployed anything with an Infrastructure as Code framework (Terraform, Pulumi, etc…) recently, then you have interacted with a state file, and may not have even known it! So, what is the state file? Why is it important? What should you do with it? These are some of the most asked questions when it comes to Infrastructure as Code management. So, let’s get into it!