One of the best Terraform wrappers is Terragrunt so far. Terragrunt inherits a lot of useful commands and design structures from Terraform. Let’s see how to install Terragrunt on Amazon Linux 2.
Prerequisites
- Amazon Linux 2
- sudo privileges
Install Terragrunt on Amazon Linux 2
Step 1. Open the official Terragrunt release page.
Step 2. Navigate to the Assets
section and download the terragrunt_linux_arm64
file.
Step 3. Find the recent downloaded Terragrunt file, navigate to that path in your console and rename it to terragrunt
.
mv terragrunt_linux_arm64 terragrunt
Step 4. To execute terragrunt
commands add executable permissions to the binary file.
chmod u+x terragrunt
Step 4. Move the Terragrunt file inside the executable $PATH
binary on your machine.
mv terragrunt /usr/local/bin/terragrunt
Step 5. To verify the installation and check the version, run:
terragrunt --version
Conclusion
Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.