If you need to simplify the Terraform structure you can achieve it through Terragrunt. The crux is that you only need to define the Terraform modules and Terragrunt will take care of the rest. Terragrunt is some kind of wrapper that will keep the code dry. In this tutorial, I will show you how to install it quickly through
snapd on Debian 11.
- Debian 11
Install Terragrunt on Debian 11
Step 1. Update the debian packages.
sudo apt update
Step 2. If you don’t have snapd already installed, run:
sudo apt install snapd
Step 3. Now, install
sudo snap install core
Step 4. The final step is to install Terragrunt.
sudo snap install terragrunt
Step 5. If you want to verify the installation and the version, run:
As I mentioned this is an easy and quick way to install Terragrunt on Debian 11. If you have any concerns don’t hesitate to ask in the comments below. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.