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 treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
elasticsearch buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
gandi treewide: name -> pname (easy cases) (#66585) 2019-08-15 13:41:18 +01:00
keycloak buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
libvirt terraform-providers.libvirt: 0.6.1 -> 0.6.2 2020-06-17 11:57:28 -07:00
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