dev-resources.site
for different kinds of informations.
Easy Baking with OpenTofu and Terragrunt: A Simple Guide
Published at
10/13/2023
Categories
opentofu
terragrunt
opensource
devops
Author
theexile110
Author
11 person written this
theexile110
open
OpenTofu can now be installed via Homebrew.
Let's install it in a few easy steps and use it together with Terragrunt.
Install OpenTofu
First, let's install OpenTofu.
brew install opentofu
tofu -v
OpenTofu v1.6.0-dev
on linux_amd64
Install Terragrunt
Next, let’s install Terragrunt.
With tgenv, we can easily install and manage Terragrunt versions.
Please note to use version 0.52.0 or higher.
brew install tgenv
tgenv install 0.52.0
tgenv use 0.52.0
terragrunt -v
terragrunt version v0.52.0
Configure Terragrunt
Lastly, let's configure Terragrunt.
We can tell Terragrunt to use OpenTofu by setting the TERRAGRUNT_TFPATH environment variable.
echo 'export TERRAGRUNT_TFPATH=tofu' >> ~/.zshrc
source ~/.zshrc
Conclusion
Now, we are all set to use OpenTofu and Terragrunt.
Let's start using them!
opentofu Article's
24 articles in total
Create a Web Server with OpenTofu (IaC)
read article
OpenTofu - Infrastructure configuration management
read article
Progress on Goliat Dashboard: Initial Workspace View Completed
read article
Goliat Dashboard updates and progress
read article
Goliath Dashboard - Shield Module Demo
read article
Tenv v2.0: The Importance of Explicit Behavior for Version Manager
read article
OpenTofu State File Encryption Overview
read article
Terraform, OpenTofu e criptografia de estado
read article
Como resolver um "Failed to Download Module" do Terraform / OpenTofu
read article
How to Manage Terraform Versions
read article
Back2Basics: Setting Up an Amazon EKS Cluster
read article
What is OpenTofu?
read article
Integrating Atlantis with OpenTofu.
read article
Creating custom VPC on AWS using OpenTofu
read article
Grant Kubernetes Pods Access to AWS Services Using OpenID Connect
read article
OpenTofu v1.7: Enhanced Security with State File Encryption
read article
cert-manager: All-in-One Kubernetes TLS Certificate Manager
read article
Effortless Formatting for OpenTofu Files with LazyVim
read article
Adopting OpenTofu as an Alternative to Terraform
read article
Migración sin problemas: De Terraform a OpenTofu con ejemplos prácticos
read article
How to Manage Multiple OpenTofu Versions With Tofuenv
read article
What is OpenTofu? - A quick introduction!
read article
Easy Baking with OpenTofu and Terragrunt: A Simple Guide
currently reading
OpenTofu forked Terraform is now available
read article
Featured ones: