Speed Up and Save Internet Bandwidth Your Terraform/OpenTofu/Terragrunt with Caching Provider Binary
Speed Up and Save Your Terraform/OpenTofu/Terragrunt with Caching Provider Binary
As many already knows, terraform
will download the provider binary from the internet when we run terraform init
/ tofu init
/ terragrunt init
command each time we invoke it in newly directory or project. This is a good thing, but it can be a problem when we have a slow internet connection or when we have a lot of providers to download or you have terragrunt monorepo that will be run in sequence, simply complex terraform or IaC dependency. This is where the caching provider binary comes in handy and will help you. Your project .terraform
directory will have symbolic link to the provider binary in the cache directory.