1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/networking/cluster/terraform-providers
Timothy Stott cd1b594767 terraform: expose providers to terraform 0.13
Terraform 0.13 adopts a new filesystem layout for plugins (illustrated below).

Terraform 0.12 and earlier
`plugins-dir/terraform-provider-aws_v3.7.0`

Terraform 0.13
`plugins-dir/registry.terraform.io/hashicorp/aws/3.7.0/linux_amd64/terraform-provider-aws_v3.7.0`

To support all packaged Terraform versions a shim is created at both locations.

This approach was inspired by https://github.com/numtide/generate-terraform-provider-shim

Terraform 0.13 provider documentation https://www.terraform.io/upgrade-guides/0-13.html#new-filesystem-layout-for-local-copies-of-providers

layout terraform providers filesystem in withPlugins
2020-10-08 22:18:12 +01:00
..
ansible
elasticsearch buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
gandi
keycloak buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
libvirt
lxd buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
shell buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
vpsadmin buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
default.nix terraform: expose providers to terraform 0.13 2020-10-08 22:18:12 +01:00
providers.json terraform-providers: populate provider source addresses 2020-10-08 21:59:09 +01:00
update-all-providers terraform-providers: script to update all providers 2020-10-08 19:01:08 +01:00
update-provider terraform-providers: update providers via terraform registry 2020-10-08 19:00:07 +01:00