Commit graph

118 commits

Author SHA1 Message Date
Graham Christensen
48413ef09d
terraform-providers.packet: v2.9.0 -> v3.2.0 2020-12-03 08:10:56 -05:00
Jonas Chevalier
5851c31127
terraform-providers: handle go modules (#104667)
* terraform-providers: handle go modules

More and more terraform providers are switching from vendored
dependencies to Go modules.

Let's say that you update the "aws" provider and it fails. You can run
it again with:

    ./update-provider aws --vendor

Any package that has the "vendorSha256" key will be considered as a go
module package.

The script now also supports adding new providers by using the
<owner>/<repo> format. Eg:

     ./update-provider hetznercloud/hcloud --vendor

* address comment

Fixes https://github.com/NixOS/nixpkgs/pull/104667#discussion_r529788569

* support the null use-case

* escape provider name as well

* fix typo
2020-12-01 11:05:00 +01:00
Silvan Mosberger
af3ed06ce1
Merge pull request #103632 from sevenfourk/patch-1
terraform-providers.gitlab: 2.9.0 -> 3.1.0
2020-11-25 01:48:03 +01:00
zimbatm
688c8c0333
terraform-providers.postgresql: 1.6.0 -> 1.7.1 2020-11-24 15:21:52 +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
1b413b1ca2 terraform-providers.digitalocean: 1.19.0 -> 2.2.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
a35f2851d4 terraform-providers.aws: 2.65.0 -> 3.15.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
sevenfourk
82cb429ee7
terraform-providers.kubernetes: 1.11.3 -> 1.13.2 2020-11-22 18:34:45 +02:00
Ivan Kovnatsky
c73b85d2c3
terraform-providers.gitlab: 2.9.0 -> 3.1.0 2020-11-20 15:38:52 +02:00
Ryan Mulligan
a9c843936d
Merge pull request #103565 from r-ryantm/auto-update/terraform-provider-lxd
terraform-providers.lxd: 1.3.0 -> 1.4.0
2020-11-18 13:52:41 -08:00
R. RyanTM
198a576820 terraform-providers.libvirt: 0.6.2 -> 0.6.3 2020-11-15 19:12:28 +00:00
R. RyanTM
005461a0a6 terraform-providers.lxd: 1.3.0 -> 1.4.0 2020-11-12 07:26:25 +00: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
86adcfa092 terraform-providers.template: 2.1.2 -> 2.2.0 2020-11-03 01:09:10 +01:00
Florian Klink
55dc43720f terraform-providers.random: 2.2.1 -> 3.0.0 2020-11-03 01:08:48 +01:00
Florian Klink
fb3f86c2b5 terraform-providers.null: 2.1.2 -> 3.0.0 2020-11-03 01:08:21 +01:00
Florian Klink
306ca0ddbd terraform-providers.external: 1.2.0 -> 2.0.0 2020-11-03 01:07:33 +01:00
Florian Klink
2eade6cd1a terraform-providers.archive: 1.3.0 -> 2.0.0 2020-11-03 01:07:09 +01:00
Florian Klink
19fceb5c48 terraform-providers.local: 1.4.0 -> 2.0.0 2020-11-03 01:05:44 +01:00
Florian Klink
c02f2fc114 terraform-providers.tls: 2.1.1 -> 3.0.0 2020-11-03 01:05:11 +01:00
Florian Klink
0876f35823 terraform-providers.hcloud: 1.16.0 -> 1.22.0 2020-11-03 01:02:55 +01:00
zimbatm
f155651d3f
terraform-providers.time: init at 0.6.0 (#101406) 2020-10-29 18:07:44 +01:00
Robert Scott
1b5ee955d3
terraform-providers.cloudfoundry: init at 0.12.6 (#99960) 2020-10-29 18:07:26 +01:00
Benjamin Hipple
64a620f8d3
Merge pull request #101418 from arcnmx/terraform-providers-github
terraform-providers.github: 2.8.0 -> 3.1.0
2020-10-24 23:10:13 -04:00
arcnmx
c603dae70d terraform-providers.github: 2.8.0 -> 3.1.0 2020-10-22 14:47:16 -07:00
arcnmx
f7cf7ed51d terraform-providers.time: init at 0.6.0 2020-10-22 10:59:46 -07: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
zimbatm
3f49e5ba03
terraform-providers.keycloak: use pname
We will be relying on the pname to figure out where to link the plugin.
2020-10-09 12:43:13 +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
72cd428dd2 terraform-providers: populate provider source addresses
Added provider source address to providers hosted in the same GitHub
repository. Other providers have moved repository and would require a
patch to the package path.
2020-10-08 21:59:09 +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
60645f0921 terraform-providers: script to update all providers 2020-10-08 19:01:08 +01:00
Timothy Stott
107707ad82 terraform-providers: update providers via terraform registry 2020-10-08 19:00:07 +01:00
Timothy Stott
063f1d7301 terraform-providers: store providers as JSON 2020-10-08 19:00:07 +01:00
Florian Klink
8cdc34cc75 terraform-providers.ct: 0.5.0 -> 0.6.1
0.6.0 added support for Fedora CoreOS Config v1.1.0.

 - Add Fedora CoreOS Config v1.1.0 support (#63)
 -  - Accept FCC v1.1.0 and output Ignition v3.1.0
 -  - Continue to support FCC v1.0.0 and output Ignition v3.0.0
 -  - Support merging FCC snippets into v1.0.0 or v1.1.0 FCC content
 -  - Note: Version skew among snippets and content is not supported
 - Change Container Linux Config to render Ignition v2.3.0 (#60)
 - Add zip archive format with signed checksum
2020-09-29 00:24:45 +02:00