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
- terraform installed
- sudo user
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.