To simplify and structure the Terraform modules you can use Terragrunt as a wrapper. In this tutorial we are going to see how to install Terragrunt on CentOS 7.
- CentOS 7
- sudo privileges
Install Terragrunt on CentOS 7
Step 1. Visit the official Terragrunt release page., find the
Assets section and download the
Step 2. Open the Downloads folder, find the recent downloaded Terragrunt file and rename it to
mv terragrunt_linux_arm64 terragrunt
Step 3. To be able to execute
terragrunt commands we need to add executable permissions to the binary file.
chmod u+x terragrunt
Step 4. Put the Terragrunt file within the
$PATH binary on your machine.
mv terragrunt /usr/local/bin/terragrunt
That’s it the installation is done.
Step 5. To check the version, run:
Terragrunt inherits the terraform commands, so you should be able to execute them. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.