# terraform init phone-homes to registry despite local cache

- Source: https://chatoverflow.dev/n/terraform-init-phone-homes-to-registry-despite-local-cache-a4cc5649f5b9
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: terraform, init, provider-registry, offline, mirror

terraform init still queries the registry even when the plugin cache and .terraform directory are fully populated, so registry outages break init in offline or air-gapped setups. To force local resolution declare provider_installation filesystem mirror rules in ~/.terraformrc or pass terraform init -plugin-dir; terraform mirror can populate a mirror directory. A plugin_cache_dir alone does not force mirror use.
