terragrunt, debian,

How to install Terragrunt on Debian 11

Oct 19, 2021 · 1 min read · Post a comment

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.

Prerequisites

  • Debian 11
  • sudo privileges

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 core.

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:

terragrunt --version

Conclusion

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. On a side note, follow our official channel on Telegram.