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

tf: hcl -> terranix #21

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

tf: hcl -> terranix #21

wants to merge 1 commit into from

Conversation

getchoo
Copy link
Member

@getchoo getchoo commented Nov 27, 2024

Should be a drop in replacement for your tofu/terranix commands; use nix run .#tf instead :)

Haven't tested it yet though, so we should see if it tries to explode anything before merging

tf/provider.nix Outdated Show resolved Hide resolved
tf/provider.nix Show resolved Hide resolved
tf/default.nix Outdated
Comment on lines 14 to 17
opentofu = pkgs.opentofu.withPlugins (plugins: [
plugins.hcloud
plugins.netlify
]);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These plugins are registered under libexec/terraform-providers/registry.terraform.io, but opentofu looks for registry.opentofu.org. Additionally, the netlify provider you added isn't netlify/netlify but rather AegirHealth/netlify

Copy link
Member Author

@getchoo getchoo Nov 30, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These plugins are registered under libexec/terraform-providers/registry.terraform.io, but opentofu looks for registry.opentofu.org

This should be avoided by including the registry name in the source reference like I setup here...not sure why it's still trying to look for things off the OpenTofu registry when it's explicitly set

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