Commit Graph

291 Commits

Author SHA1 Message Date
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
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
zowoq
cea7cd902e buildGoModule packages: set doCheck = false 2020-08-10 16:02:30 +10:00
Florian Klink
3cece2b33b
Merge pull request #79418 from eonpatapon/terraform-providers
terraform-provider-keycloak: init at 1.20.0
2020-08-08 23:24:20 +02:00
Jean-Philippe Braun
5debd8c0ab terraform-provider-keycloak: init at 1.20.0 2020-08-08 16:51:53 +02:00
zowoq
3c5750d1cd buildGoModule packages: editorconfig fixes 2020-07-31 13:58:04 +10:00
Matej Urbas
2f355e776b
pkgs.terraform: add terraform-provider-shell 1.6.0 (#93069) 2020-07-14 14:05:39 +00:00
R. RyanTM
00c9983e02 terraform-providers.libvirt: 0.6.1 -> 0.6.2 2020-06-17 11:57:28 -07: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
Florian Klink
8d29650570 terraform-providers.ct: init at 0.5.0
This is a Terraform provider that can validate and render Ignition files
for Container Linux and Fedora CoreOS.
2020-06-05 19:41:13 +02:00
Daiderd Jordan
b7ddbd52bd
treewide: replace SRI hashes 2020-06-01 15:24:19 +02:00
Colin L Rice
d6162dab50
go-modules: Update files to use vendorSha256 2020-05-14 07:22:21 +01:00
zimbatm
018aadcfa1
terraform-providers.vpsadmin: init at 0.1.0 2020-04-26 13:35:16 +02:00
zimbatm
442f76893c
terraform-providers.sops: init at 0.5.0 2020-04-26 13:21:15 +02:00
zimbatm
20f55a9fc0
terraform-providers.ibm: move to update-all script 2020-04-26 13:07:04 +02:00
zimbatm
bb858898b1
terraform-providers: update-all 2020-04-26 12:56:28 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Florian Klink
9f270c6491 terraform-providers: update 2020-04-02 18:33:40 +02:00
zimbatm
3e5149a79a terraform-providers: fix the google and google-beta providers 2020-04-02 17:53:05 +02:00
Florian Klink
2e19bc7074 terraform-providers: refactor
Some terraform providers were moved to the `hashicorp` organization,
some are still in the `terraform-providers` organization.

GitHub doesn't show moved repositories when querying via the API (only
on the web interface). In addition, if there are more than 100 results
(there still are), we'd need to implement paging, which is cubersome in curl.

In addition to that, to look up tags, we used to creating a HTTP request
for each and every provider, which caused us to easily get blocked by
GitHubs rate-limiting.

Instead of all that, let's use `hub` (which implements paging) and the
GitHub's GraphQL endpoint to get a list all repositories for a given
organization AND the latest tag for each of them.

We post-process the output with `jq`.

This also removes the providers.txt and folds the data into the script.
The blacklist was becoming too annoying to handle as a config file.

For the whitelist, we still need to individually fetch tags.

Fixes #83215

Co-Authored-By: zimbatm <zimbatm@zimbatm.com>
2020-04-02 17:53:05 +02:00
Jörg Thalheim
066db11215
Revert "Merge pull request #83099 from marsam/fix-buildGoModule-packages-darwin"
This reverts commit 4e6bf03504, reversing
changes made to afd997aab6.

Instead we propagate those frameworks from the compiler again
2020-03-27 07:33:21 +00:00
worldofpeace
3a6d2f7d30
Merge pull request #81159 from c00w/some_go_112_drop
[go] Undo some 1.12 overrides that now build with 1.13
2020-03-23 17:34:58 -04:00
Jörg Thalheim
5f3f4cb1be
terraform-libvirt: fix strict deps build 2020-03-23 08:16:46 +00:00
Colin L Rice
ac1336120f treewide Drop unneeded go 1.12 overrides 2020-03-22 18:06:25 -04:00
Mario Rodas
8a51989af0 terraform-providers.elasticsearch: fix build on darwin 2020-03-21 06:25:00 -05:00
Jeffry Molanus
4bcdfdb7b8 terraform-providers.lxd: init at 1.3.0 2020-03-19 00:10:04 +01:00
Jeffry Molanus
c1b5cfe267 terraform-providers.libvirt: 0.5.1 -> 0.6.1 2020-03-02 11:42:53 +01:00
chris
67509cc831 Updated the terraform providers 2020-01-23 10:34:48 -08:00
Florian Klink
bcfa14af15 terraform-providers: bump version (#74991)
Contrary to what the update script suggested, I didn't bump the google
providers to 3.0.0[-beta] just yet :-)
2019-12-04 18:04:34 +00:00
Marius Bergmann
bc0a2adb22 terraform-provider-pass: init at 1.2.1 2019-11-08 23:44:30 +01:00
Marius Bergmann
610ffc9b8f terraform-providers: update existing providers 2019-11-08 23:41:16 +01:00
Marius Bergmann
3ddd53e576 terraform-providers: fix handling of version/rev in provider list
I interpreted the purpose of stripping the first character from the 'version'
argument as an attempt to remove a prefixed 'v' (e.g. 'v1.0.0') from a version
tag. This works if the tag actually has a 'v' prefix, but also removes the first
character if version tags are not prefixed (e.g. '1.0.0').

Additionally, the 'v' was added again when specifying the `rev` for
`fetchFromGitHub` in default.nix. As described above, this did also not work
when provider repos did not prefix their version tags with 'v'.

I changed the implementation as follows:

- `version` and `rev` are stored inside data.nix
- `version` is used to declare the nix package version
- `rev` is used to fetch the proper git ref when building the package
- for determining `version`, an optional leading 'v' is trimmed from the tag
  name

Now this has the implication that the latest tag must always be a release tag
when using the `update-all` script, but as the result of running `update-all`
should always be reviewed before submission, makes this appear a manageable
tradeoff to me.
2019-11-08 23:41:08 +01:00
Marius Bergmann
206f719046 terraform-providers: group individual repo providers 2019-11-08 23:40:55 +01:00
Renaud
cadc0a05af
Merge pull request #70869 from cameronbriar/terraform-provider-wavefront
terraform-provider-wavefront: init at 2.1.0
2019-10-15 17:40:29 +02:00
Roman Volosatovs
8c33df9d65
all-packages: use go 1.12 for terraform-providers.elasticsearch 2019-10-11 10:09:09 +02:00
Cameron Briar
fcfa6f2cf1 terraform-provider-wavefront: init at 2.1.0
Introduces https://github.com/spaceapegames/terraform-provider-wavefront to the existing
set of Terraform providers. Leverages the existing pattern for including
community-driven Terraform providers not mentioned here: https://www.terraform.io/docs/providers
2019-10-09 12:46:00 -04:00
Vladimír Čunát
2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
dshkyra
b15d8686ad terraform-providers: bump versions (#66587) 2019-08-20 22:40:29 +00:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Urban Skudnik
f432ae3ba4
terraform-providers: bump versions 2019-07-26 12:45:21 +02:00
Urban Skudnik
a98e4248b9
Update provider
Matchbox changed owners on github
2019-07-26 12:45:20 +02:00
Urban Skudnik
f1b81ff2cd
Update ansible package
Needs to be moved out of automatic update-all since it requires
goDeps.
2019-07-26 12:45:20 +02:00
Florian Klink
c0f1c81078 terraform-providers: bump versions
I skipped terraform-provider-matchbox and terraform-provider-ansible,
they failed to build:

terraform-provider-ansible
> cannot find package "github.com/hashicorp/terraform/helper/schema" …

terraform-provider-matchbox
> cannot find package "github.com/poseidon/terraform-provider-matchbox/matchbox" …
2019-06-18 19:40:42 +02:00
Bas van Dijk
6b4279e792 terraform-provider-elasticsearch: 0.6.0 -> 0.7.0 2019-06-04 12:34:24 +02:00
Bas van Dijk
d19b0b2ddf terraform-provider-elasticsearch: init at 0.6.0 2019-05-27 17:48:36 +02:00
zimbatm
b269811203 terraform-providers: bump versions 2019-05-09 22:43:26 +02:00
Stephen
27f41a4b98 terraform-providers: bump versions 2019-04-17 08:09:23 -07:00
DzmitrySudnik
e10329a455 terraform-providers: bump versions 2019-03-27 19:34:40 -04:00
Matthew Bauer
b332d66ce4
Merge pull request #56906 from stephengroat/terraform-providers.ansible
terraform-providers.ansible: init at 0.0.4
2019-03-25 22:07:44 -04:00
Stephen
ee910c110a
terraform-providers: bump versions 2019-03-13 11:43:38 -07:00
Stephen
bf34b05cf1 terraform-providers.ansible: init at 0.0.4 2019-03-05 11:44:47 -08:00
Stephen
f8c2684b16
terraform-providers: version bumps 2019-03-05 09:50:22 -08:00
Stephen
a8469ba0b6 terraform-providers.segment: init at 0.2.0 (#56865) 2019-03-05 06:42:36 -08:00
Mariusz `shd` Gliwiński
46b7effd00 terraform-providers.libvirt: 0.4 -> 0.5.1 2019-02-11 17:09:51 +01:00
Stephen
ab2c1a7bed
terraform-providers: limit subpackages
https://github.com/NixOS/nixpkgs/pull/52937#issuecomment-455629855
2019-01-18 09:49:19 -08:00
Stephen
d5a3e32006
terraform-providers: bump versions 2019-01-18 08:06:18 -08:00
Stephen
4e60afdc5e terraform-providers: new providers + version bumps 2019-01-13 21:17:07 -08:00
Stephen
7b884b6807
terraform-providers: bump versions 2018-12-17 18:59:30 -08:00
zimbatm
ae49c73644 terraform-providers: add terraform-provider-secret 2018-12-05 20:09:22 -08:00
zimbatm
71dbc5a77b terraform-providers: update 2018-12-05 20:09:22 -08:00
Stephen
b25213cdb1 terraform-providers: bump versions (#50864) 2018-11-22 12:44:07 +01:00
Stephen
d9695af1ee
terraform-providers.aws: 1.43.0 -> 1.43.1 2018-11-09 18:19:27 -08:00
Stephen
647d1eb077
terraform-providers: bump versions 2018-11-09 08:40:30 -08:00
Arian van Putten
13effc913d terraform-providers: Bump all releases (#49582)
Does what it says on the tin. Auto-generated.
2018-11-03 00:50:35 +01:00
zimbatm
7786575c6c
terraform-providers.libvirt: fix plugin output (#48577)
Terraform depends on this binary name format to detect the provider
version.
2018-10-16 19:35:45 +02:00
zimbatm
e4f8d5c254
terraform-providers.gandi: init at 1.0.0 (#48223) 2018-10-11 21:53:30 +02:00
Florian Klink
e4f4e9fd1d terraform-providers.matchbox: init at 0.2.2 (#47863) 2018-10-04 15:21:24 +02:00
Wael M. Nasreddine
6ff45f34d8
terraform-providers: move ibm and libvirt underneath the terraform-providers 2018-09-28 11:32:19 -07:00
zimbatm
ef64786cda
terraform: move providers to terraform-providers
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>
2018-09-28 11:22:27 -07:00