-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
terraform: update all providers and move nixos provider under terraform.withPlugins #47407
terraform: update all providers and move nixos provider under terraform.withPlugins #47407
Conversation
Success on x86_64-linux (full log) Attempted: terraform Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: terraform Partial log (click to expand)
|
@kalbasit moving "official" and "standalone" providers into the same namespace makes a lot of sense, thanks :-) Could you also move the two remaining providers, The former one should be completely straightforward, for the latter one we would need to add a way to |
@flokli I tried moving both providers but I hit two issues that I thought were out of scope for this PR:
I'm hoping to first merge this PR, and work on the support for custom attributes in a separate PR. |
@kalbasit separate PR is fine, too - just wanted to make sure these don't slip through :-) |
@flokli It won't! I'll figure out the best way and submit a new PR sometime this week. |
pkgs/applications/networking/cluster/terraform/providers/providers.txt
Outdated
Show resolved
Hide resolved
0ad8175
to
7dadabb
Compare
Success on x86_64-linux (full log) Attempted: terraform Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: terraform Partial log (click to expand)
|
@kalbasit just pushed a change to your branch to move the providers to their own For the remaining 2 plugins, since they have special requirements they could just be moved under that group with callPackage links so the generic builder doesn't have to be extended. |
@zimbatm thx for the contribution but the eval is failing, can you take another look at it? |
Before, providers were only built indirectly. Since proviers don't depend on terraform to build they can be moved into their own collection of packages. This also has the advantage that they can be reached directly using an attribute path (Eg: terraform-providers.nixos). Co-authored-by: Wael Nasreddine <wael.nasreddine@gmail.com>
acd054c
to
fffed44
Compare
@zimbatm never mind, I managed to fix it. The issue was that |
fffed44
to
6ff45f3
Compare
Success on x86_64-linux (full log) Attempted: terraform Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: terraform Partial log (click to expand)
|
nice work @kalbasit |
…r-nixos terraform: update all providers and move nixos provider under terraform.withPlugins (cherry picked from commit 5547a8b)
ported to 18.09 with |
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)/cc @jgeerds @zimbatm @peterhoeg