sethbacon/Terraform provider mirror

Configure Terraform or OpenTofu to use a provider network mirror; writes the CLI config and exports TF_CLI_CONFIG_FILE.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
mirror-urlHTTPS base URL of the provider network mirror (trailing slash optional).yes
binaryWhich CLI to configure — "terraform" or "tofu".noterraform
allow-direct-fallbackAllow falling back to the origin registry for some providers.nofalse
direct-include-patternsNewline-separated provider source patterns that should bypass the mirror and install directly (e.g. "registry.terraform.io/hashicorp/*"). Takes precedence over direct-exclude-patterns. Only used with allow-direct-fallback.no""
direct-exclude-patternsNewline-separated provider source patterns forced through the mirror (everything else may fall back to direct). Only used with allow-direct-fallback, and only when direct-include-patterns is empty.no""
config-pathWhere to write the CLI config file. Defaults to $RUNNER_TEMP/.terraformrc.no""
namedescription
config-file-pathAbsolute path of the CLI configuration file that was written.