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 GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| mirror-url | HTTPS base URL of the provider network mirror (trailing slash optional). | yes | — |
| binary | Which CLI to configure — "terraform" or "tofu". | no | terraform |
| allow-direct-fallback | Allow falling back to the origin registry for some providers. | no | false |
| direct-include-patterns | Newline-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-patterns | Newline-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-path | Where to write the CLI config file. Defaults to $RUNNER_TEMP/.terraformrc. | no | "" |
Outputs
| name | description |
|---|---|
| config-file-path | Absolute path of the CLI configuration file that was written. |