One network mirror in the CLI configuration, no change to any required_providers block. Providers come through a pull-through cache that verifies every checksum, so terraform init never reaches registry.terraform.io directly.
Provider installation is configured once per machine, or per CI job with TF_CLI_CONFIG_FILE. If anonymous pull is off, the token goes in the mirror URL.
The placeholders are your base URL and a token from the web UI. The guide covers the same steps for a single project, plain HTTP, verifying the change, and reverting it.
# ~/.terraformrc (or %APPDATA%\terraform.rc)
provider_installation {
network_mirror {
url = "https://repo.example.com/terraform/"
}
}The client sees a registry. Behind it, Dependably Packages stages each upstream artefact and refuses the ones that fail a check you configured.
The Terraform guide continues with a verification step and reverting the configuration. Terraform is served as a mirror: it proxies and caches, and does not accept uploads.