Working with terragrunt as a terraform wrapper will ease things and simplify the terraform templates. Here I will show you how to set up quickly on your Ubuntu machine.
Prerequisites
- Ubuntu
- sudo user
Install Terragrunt on Ubuntu
Step 1. As a first step go to the official release page., scroll down to the Assets
section and download the terragrunt_linux_arm64
file.
Step 2. Once the download is completed, navigate to the file directory (it should be in the Downloads
directory) and rename it to terragrunt
.
mv terragrunt_linux_arm64 terragrunt
Step 3. Add executable permissions to the binary file.
chmod u+x terragrunt
Step 4. Move the terragrunt file into the $PATH binary on your machine.
mv terragrunt /usr/local/bin/terragrunt
Step 5. So now you can execute terragrunt commands on your machine.
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.