Commit Graph

64 Commits

Author SHA1 Message Date
zowoq
41473bf959 terraform-providers: support proxyVendor 2022-01-01 08:26:40 +10:00
zowoq
84ef8b2222 terraform-providers.vercel: remove separate derivation 2022-01-01 08:26:40 +10:00
zowoq
9b10b523f3 terraform-providers.lxd: remove separate derivation 2022-01-01 08:26:40 +10:00
zowoq
e0687dd46c terraform-providers.linuxbox: 0.3.11 -> 0.4.2, remove separate derivation 2022-01-01 08:26:40 +10:00
zowoq
e40468c457 terraform-providers.hcloud: 1.26.0 -> 1.32.2, remove separate derivation 2022-01-01 08:26:40 +10:00
zowoq
18c46f641f terraform-providers.cloudfoundry: 0.14.2 -> 0.15.0, remove separate derivation 2022-01-01 08:26:40 +10:00
zowoq
0e1acb3c5e terraform-providers.ansible: 1.0.3 -> 1.0.4, remove separate derivation 2022-01-01 08:26:40 +10:00
zowoq
09195e8acb terraform-providers: set doCheck to false
this is usually a no op anyway
2022-01-01 08:26:40 +10:00
Zhong Jianxin
40915ab80f terraform-providers: Update alicloud to v1.144.0
The alicloud provider move from to aliyun/alicloud, update to the latest
version.

Also introduct `deleteVendor` in `buildWithGoModule`, the vendor of
alicloud needs to be cleared due to openapiv2 API rename, or the
following error appears when building in case sensitive filesystems:

```
vendor/k8s.io/client-go/discovery/discovery_client.go:30:2: cannot find package "." in:
        /build/source/vendor/github.com/googleapis/gnostic/openapiv2
```
2021-11-24 21:28:11 +08:00
Justinas Stankevičius
79259c3599
terraform-providers.teleport: init at 7.3.0 (#138972)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-10-28 18:09:13 +02:00
Jonas Chevalier
5f9073ccc5
terraform-providers.mkProvider: init (#140465)
Expose how the providers are being created. That way, users can more
easily extend or override the list of providers that they want to use.

For example, you need a new AWS provider version:

```nix
terraform.withPlugins (p: [
  (p.mkProvider rec {
    owner = "hashicorp";
    provider-source-address = "registry.terraform.io/hashicorp/aws";
    repo = "terraform-provider-aws";
    rev = "v${version}";
    sha256 = "0fa61i172maanxmxz28mj7mkgrs9a5bs61mlvb0d5y97lv6pm2xg";
    vendorSha256 ="1s22k4b2zq5n0pz6iqbqsf6f7chsbvkpdn432rvyshcryxlklfvl";
    version = "3.56.0";
  })
])
```
2021-10-05 19:21:45 +02:00
Jonathan Ringer
c946a8861a
terraform.providers: use allowAliases for exposing deprecated providers 2021-08-10 11:43:24 -07:00
Florian Klink
7a8f6028c4
Merge pull request #132755 from flokli/terraform-provider-kubernetes-bump
terraform-providers.kubernetes: 2.1.0 -> 2.4.1, remove kubernetes-alpha
2021-08-05 12:01:33 +02:00
Florian Klink
2ec3c8ec19 terraform-providers.kubernetes-alpha: remove
This has graduated to beta, and the kubernetes_manifest resource has
moved into terraform-provider-kubernetes.

To use it, you must be enabled in the provider block:

```hcl
provider "kubernetes" {
  experiments {
    manifest_resource = true
  }
  config_path = "~/.kube/config"
}
```
2021-08-05 11:52:32 +02:00
arcnmx
7a6ecf8e89 terraform-providers.acme: 2.4.0 -> 2.5.2 2021-06-28 09:39:06 -07:00
arcnmx
5a9129160d terraform-providers.acme: 1.5.0-patched -> 2.4.0
and move to upstream source
2021-06-02 23:02:49 -07:00
Stephane TEYSSIER
ae4b052cb5 terraform-providers: remove useless argument 2021-04-13 15:30:35 +02:00
Stephane TEYSSIER
1c5c091f46 terraform-providers.keycloak: use default model 2021-04-13 12:04:39 +02:00
Jean-François Roche
b2071f5035
terraform-providers.elasticsearch: 0.7.0 -> 1.5.2
Define provider in `providers.json`.
Remove custom build for terraform provider.
2021-02-11 00:13:25 +01:00
Matej Urbas
a9e03c40a1 terraform-providers.shell: uses default model 2021-02-07 10:37:09 +00:00
Marek Mahut
d413ba8009 terraform-provider-vercel: init at 2.1.0 2020-12-29 19:21:14 +01:00
Timothy Stott
0fb14ea4d3 terraform-providers.google-beta: 3.18.0 -> 3.47.0 2020-11-24 05:42:49 -08:00
Timothy Stott
0fc33746c6 terraform-providers.google: 3.18.0 -> 3.47.0 2020-11-24 05:42:49 -08:00
Timothy Stott
82ae6fc998 terraform-providers.ibm: 1.7.0 -> 1.14.0 2020-11-24 05:42:49 -08:00
Timothy Stott
2aca345a59 terraform-providers.helm: 1.2.2 -> 1.3.2 2020-11-24 05:42:49 -08:00
Timothy Stott
4377259a93 terraform-providers.external: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
6fc4083a26 terraform-providers.archive: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
4a8fbd2044 terraform-providers.http: 1.2.0 -> 2.0.0 2020-11-24 05:42:49 -08:00
Timothy Stott
481cb9717d terraform-providers.local: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
ba45f19dc7 terraform-providers.template: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
b98455973d terraform-providers.tls: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
d4f3c08e26 terraform-providers.null: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
fca860edaa terraform-providers.random: build with Go module 2020-11-24 05:42:49 -08:00
Timothy Stott
214f9d2a51 terraform-providers.dns: 2.2.0 -> 3.0.0 2020-11-24 05:42:49 -08:00
Timothy Stott
31589fe918 terraform-providers: support providers with Go module 2020-11-24 05:42:49 -08:00
1000101
e50eb89d52
terraform-providers: vultr 1.4.1 -> 1.5.0 (#103305) 2020-11-10 19:48:57 +00:00
zimbatm
1eaf05fbaf
terraform-providers.linuxbox: init at 0.3.11 2020-11-04 19:23:08 +01:00
Florian Klink
0876f35823 terraform-providers.hcloud: 1.16.0 -> 1.22.0 2020-11-03 01:02:55 +01:00
Robert Scott
1b5ee955d3
terraform-providers.cloudfoundry: init at 0.12.6 (#99960) 2020-10-29 18:07:26 +01:00
1000101
f5a852941e terraform-providers: vultr 1.3.0 -> 1.4.1 2020-10-22 15:37:33 +02:00
zimbatm
c79ff8ddca
terraform: fix withPlugins
Move the providerSourceAddress fallback to the terraform.withPlugins
function. Since plugins can be arbitrary derivations, there is no
guarantee that this attribute will be exposed.

While doing that I also cleaned the toDrv function to only pass
attributes to the builder which are required by the build.

The Terraform 0.13 fallback slug has changed from
`nixpkgs/<provider-owner>/<provider-name>` to `nixpkgs/<provider-name>`
as the owner is also not always available. As a nixpkgs user, all I know
is that the provider is in nixpkgs and his name, the owner information
is not necessarily easy to get by.
2020-10-09 16:55:30 +02:00
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
Timothy Stott
87e21d1153 terraform-provider.acme: 1.5.0 -> 1.5.0-patched 2020-10-08 19:01:08 +01:00
Timothy Stott
063f1d7301 terraform-providers: store providers as JSON 2020-10-08 19:00:07 +01:00
Maurice B. Lewis
94d2aeb559
terraform-providers: add version to patchGoModVendor providers (#97590)
Add version to binaries produced via patchGoModVendor to allow run-time provider
version validation by terraform.

This was initially introduced in 4e63119c54 (terraform: add the version component to terraform provider paths (#34497), 2018-02-06)
but broken in 3e5149a79a (terraform-providers: fix the google and google-beta providers, 2020-03-24)
for terraform-providers.google and terraform-providers.google-beta, and in 20f55a9fc0 (terraform-providers.ibm: move to update-all script, 2020-04-26)
for terraform-providers.ibm.
2020-09-27 22:20:41 +00:00
Jean-Philippe Braun
5debd8c0ab terraform-provider-keycloak: init at 1.20.0 2020-08-08 16:51:53 +02:00
Matej Urbas
2f355e776b
pkgs.terraform: add terraform-provider-shell 1.6.0 (#93069) 2020-07-14 14:05:39 +00:00
Florian Klink
241eef1ec3 terraform-providers: update
This bumps the terraform provider to their latest version.

Hashicorp moved yet another provider to their organization
(`terraform-provider-helm`), so we need patch URLs in there as well.

The following proviers were not bumped:

 - `google[-beta]`: It seems something changed again here with how
   dependencies are provided.
 - `nomad`: fails to build
 - `lacework`: This one appeared fresh at `terraform-providers`, and
   doesn't build (yet?)
2020-06-08 21:17:16 +02:00
zimbatm
018aadcfa1
terraform-providers.vpsadmin: init at 0.1.0 2020-04-26 13:35:16 +02:00
zimbatm
20f55a9fc0
terraform-providers.ibm: move to update-all script 2020-04-26 13:07:04 +02:00