Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make mkTerraformProvider overridable #73

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

Lillecarl
Copy link
Contributor

I "need" this to override registry to registry.opentofu.org for some providers. I encountered something weird where setting

terraform {
  required_providers {
    random = {
      source = "registry.terraform.io/hashicorp/random"
    }
}

still would try to look up random in registry.opentofu.org.... So I had to make random available there when setting TF_PLUGIN_DIR and stuff :)

@zimbatm zimbatm merged commit 7207fb6 into nix-community:master Jan 2, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants