terragrunt-providers 297 B

123456789101112
  1. #! /bin/bash
  2. TG=terragrunt
  3. if [[ "$1" == "local" ]]; then
  4. TG=terragrunt-local
  5. fi
  6. export TF_PLUGIN_CACHE_DIR=
  7. rm -rf .terragrunt-cache
  8. mv .terraform.lock.hcl .terraform.lock.hcl.bak
  9. ${TG} providers lock -platform=darwin_amd64 -platform=linux_amd64 -platform=windows_amd64 -platform=linux_arm64