Terraform and Terragrunt Basics

Local Development Environment

To start with Terraform and Terragrunt we need a basic setup.

The first thing we need is to install Homebrew.

We can now install other needed tools.

coreutils

brew install git coreutils curl

awscli

brew install awscli

kubectl

brew install kubectl

asdf

brew install asdf
#echo -e "\n. $(brew --prefix asdf)/asdf.sh" >> ${ZDOTDIR:-~}/.zshrc\n

terraform and terragrunt

asdf plugin list all
asdf plugin add terraform
asdf list all terraform
asdf install terraform 1.1.9
asdf global terraform 1.1.9
asdf plugin add terragrunt
asdf install terragrunt 0.36.7
asdf global terragrunt 0.36.7