Summarize resource addresses from a terraform plan
result
brew install terraform jq
# or install terraform by `tfenv`
wget -qO $HOME/.terraform.d/terraform-plan-summary https://github.com/flavono123/terraform-plan-summary/releases/download/v0.1.1/terraform-plan-summary && \
chmod +x $HOME/.terraform.d/terraform-plan-summary && \
echo "alias terraform='$HOME/.terraform.d/terraform-plan-summary'" >> $HOME/.bashrc && \
source $HOME/.bashrc
# clone
$ git clone https://github.com/flavono123/terraform-plan-summary.git
$ cd terraform-plan-summary
$ cp terraform-plan-summary $HOME/.terraform.d/terraform-plan-summary && \
chmod +x $HOME/.terraform.d/terraform-plan-summary && \
echo "alias terraform='$HOME/.terraform.d/terraform-plan-summary'" >> $HOME/.bashrc && \
source $HOME/.bashrc
Show only the resources that will be changed in terraform plan - trying to use jq for this