-
Notifications
You must be signed in to change notification settings - Fork 0
terraform and terragrunt installation
Mostafa Kamal edited this page Jul 2, 2024
·
3 revisions
You need to install terraform and terragrunt on your machine for local development
brew tap hashicorp/tap
brew install hashicorp/tap/terraform
# check the version
terraform -version
source:
brew install terragrunt
#version check
terragrunt --version
source
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install terraform
# check the version
terraform -version
source:
wget -qO /tmp/terragrunt https://github.com/gruntwork-io/terragrunt/releases/download/v0.57.0/terragrunt_linux_amd64
sudo chmod +x /tmp/terragrunt
sudo mv /tmp/terragrunt /usr/local/bin/terragrunt
version check
terragrunt --version
source