Commit Graph

208 Commits

Author SHA1 Message Date
zimbatm
2e365a077d
terraform: maintained by numtide 2022-05-02 14:55:13 +02:00
techknowlogick
2696f4c696
terraform: 1.1.8 -> 1.1.9 (#169452) 2022-04-20 19:04:34 +02:00
Robert Hensing
375eaf2b4f
terraform-full: Fix eval (#167857)
https://github.com/NixOS/nixpkgs/pull/166792 made the
aliases work, which was unexpected for terraform-full.

Thanks to zowoq for reporting
https://github.com/NixOS/nixpkgs/pull/166792#issuecomment-1092742313
2022-04-09 11:04:53 +02:00
techknowlogick
7d55ee2b5c terraform: 1.1.7 -> 1.1.8 2022-04-07 14:23:26 -04:00
zowoq
6979f4920d terraform: 1.1.6 -> 1.1.7
https://github.com/hashicorp/terraform/releases/tag/v1.1.7
2022-03-03 07:09:53 +10:00
zowoq
3c2757d25d terraform: 1.1.5 -> 1.1.6
https://github.com/hashicorp/terraform/releases/tag/v1.1.6
2022-02-17 07:33:21 +10:00
Vincent Ambo
f259444398
terraform: fix overrideAttrs with passthru attributes (#158632)
If plugins are specified in a call to `terraform.withPlugins`, the
standard override functions do not act on the wrapper derivation that
a user sees but on the underlying Terraform derivation.

Due to this, overriding attributes does nothing as they are not passed
through to the "outer" wrapper derivation.

This change fixes this for at least passthru attributes, but other
applications of `.overrideAttrs` (and potentially of the other
overrides) will do nothing (except compute a bit internally).

This fixes #158620 at least partially.
2022-02-08 17:41:58 +01:00
zowoq
ee02c9d15c terraform: 1.1.4 -> 1.1.5
https://github.com/hashicorp/terraform/releases/tag/v1.1.5
2022-02-03 09:37:02 +10:00
zimbatm
fe580dcffa terraform: fix the plugins wrapper
Terraform needs the plugin directory to not be a tree of symlinks,
because it uses https://pkg.go.dev/path/filepath#Walk under the hood.

This restores some of the work that had been undone in
e7dbfd7ece
2022-01-29 06:28:55 +10:00
Jonas Chevalier
e7dbfd7ece
terraform.withPlugins: clean and remove 0.12 support (#155477)
Now that the terraform 0.12 compatibility is not needed anymore, the
`terraform.withPlugins` and `terraform-providers.mkProvider`
implementations can be simplified.

Instead of building a bunch of bin wrappers on instantiation, the
providers are now stored in
`$out/libexec/terraform-providers/<registry>/<owner>/<name>/<version>/<os>_<arch>/terraform-provider-<name>_v<version>`
and then a simple `buildEnv` can be used to merge them.

This breaks back-compat so it's not possible to mix-and-match with
previous versions of nixpkgs. In exchange, it now becomes possible to
use the providers from
[nixpkgs-terraform-providers-bin](https://github.com/numtide/nixpkgs-terraform-providers-bin)
directly.
2022-01-24 12:53:05 +01:00
zowoq
8903bd2cab terraform: 1.1.3 -> 1.1.4
https://github.com/hashicorp/terraform/releases/tag/v1.1.4
2022-01-20 05:51:28 +10:00
zimbatm
090872ef68
terraform_0_12: remove
Remove the last version that doesn't use the registry
2022-01-14 21:02:49 +01:00
zowoq
df7f6e9eca terraform: switch to go_1_17 2022-01-10 09:01:19 +10:00
zowoq
3c0f090cac terraform: 1.1.2 -> 1.1.3
https://github.com/hashicorp/terraform/releases/tag/v1.1.3
2022-01-07 18:43:39 +10:00
zowoq
d191b42933 terraform: add maintainer 2022-01-01 08:21:50 +10:00
zowoq
16ae5f4981 terraform: 1.1.1 -> 1.1.2
https://github.com/hashicorp/terraform/releases/tag/v1.1.2
2021-12-18 10:20:03 +10:00
Mario Rodas
4ad16e2da0
terraform: 1.1.0 -> 1.1.1 (#150960)
https://github.com/hashicorp/terraform/releases/tag/v1.1.1
2021-12-16 22:47:42 +01:00
Mario Rodas
f61303a9cb
terraform: 1.0.11 -> 1.1.0 (#149720)
https://github.com/hashicorp/terraform/releases/tag/v1.1.0
2021-12-13 17:16:44 +01:00
zowoq
c0c46ba593
terraform: set ldflags (#149767)
these are set the same in every version we package

https://github.com/hashicorp/terraform/blob/v0.12.0/scripts/build.sh#L47
2021-12-09 11:10:21 +01:00
Mario Rodas
dc8a634b45 terraform: 1.0.10 -> 1.0.11
https://github.com/hashicorp/terraform/releases/tag/v1.0.11
2021-11-11 04:20:00 +00:00
Mario Rodas
dd72fd59f8 terraform: 1.0.9 -> 1.0.10
https://github.com/hashicorp/terraform/releases/tag/v1.0.10
2021-10-28 04:20:00 +00:00
Maxine Aubrey
e9cd692673
terraform_1_0: 1.0.8 -> 1.0.9
- https://github.com/hashicorp/terraform/releases/tag/v1.0.9
2021-10-15 00:06:56 +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
Maxine Aubrey
8bcd17d6a8
terraform_1_0: 1.0.7 -> 1.0.8
- https://github.com/hashicorp/terraform/releases/tag/v1.0.8
2021-09-30 01:45:08 +02:00
Mario Rodas
8c909dd261 terraform: 1.0.6 -> 1.0.7
https://github.com/hashicorp/terraform/releases/tag/v1.0.7
2021-09-15 04:20:00 +00:00
Maxine Aubrey
51df9074f0
terraform_1_0: 1.0.5 -> 1.0.6
- https://github.com/hashicorp/terraform/releases/tag/v1.0.6
2021-09-03 17:10:26 +02:00
Diego Rodriguez
5a2fd66948
terraform_1_0: 1.0.4 -> 1.0.5 # 2021-08-18 14:22:19 -06:00
maxine [they]
d256a84fec
terraform_1_0: 1.0.3 -> 1.0.4 (#132711) 2021-08-04 17:54:03 -05:00
Mario Rodas
6da3d1b023 terraform_1_0: 1.0.2 -> 1.0.3
https://github.com/hashicorp/terraform/releases/tag/v1.0.3
2021-07-22 00:00:00 +00:00
Maxine Aubrey
dbf4e2980d
pkgs: add maxeaubrey to maintainers 2021-07-18 21:23:26 +02:00
Mario Rodas
98e50a7031 terraform_1_0: 1.0.1 -> 1.0.2
https://github.com/hashicorp/terraform/releases/tag/v1.0.2
2021-07-07 04:20:00 +00:00
Maxine Aubrey
9493f6f90e
terraform_1_0: 1.0.0 -> 1.0.1 2021-06-25 23:26:44 +02:00
zimbatm
56f08c070d
Revert "terraform: drop old versions"
Leave a bit of breathing rooms for users to upgrade.

This reverts commit 3919d73030.
2021-06-17 18:31:16 +02:00
zimbatm
3919d73030
terraform: drop old versions
Now that terraform 1.0 is stable, only keep that version.
2021-06-15 12:07:48 +02:00
zimbatm
01b6046594
terraform: switch to 1.0
Default to the stable release
2021-06-15 12:05:17 +02:00
zimbatm
355aa90cfc
terraform: export mkTerraform
Make the Terraform constructor available for third-party users.
2021-06-15 12:01:06 +02:00
zimbatm
f33e2c5c2b
terraform_1_0_0: rename to terraform_1_0
Only use major_minor so we can bump minor versions.
2021-06-15 11:59:51 +02:00
zimbatm
319537cb02
terraform: fmt 2021-06-15 10:40:39 +02:00
Ben Siraphob
960d10ab7b
terraform_1_0_0: init at 1.0.0 (#126219) 2021-06-08 20:33:16 +02:00
Mario Rodas
7e8ba15961
terraform_0_15: 0.15.4 -> 0.15.5 (#125438)
https://github.com/hashicorp/terraform/releases/tag/v0.15.5
2021-06-03 02:43:06 +00:00
Maxine Aubrey
f6d57e237a
terraform_0_15: 0.15.3 -> 0.15.4 2021-05-19 23:29:03 +02:00
Maxine Aubrey
31ba37e111
terraform_0_15: 0.15.2 -> 0.15.3 2021-05-06 21:44:29 +02:00
Mario Rodas
625842b8cf
terraform_0_15: 0.15.1 -> 0.15.2 (#121859)
https://github.com/hashicorp/terraform/releases/tag/v0.15.2
2021-05-06 10:00:22 +02:00
Mario Rodas
67a6549f8e terraform: remove peterhoeg as maintainer
https://github.com/NixOS/nixpkgs/pull/120786#issuecomment-827406640
2021-04-27 04:20:00 +00:00
Mario Rodas
3dd11611cf terraform_0_14: 0.14.10 -> 0.14.11
https://github.com/hashicorp/terraform/releases/tag/v0.14.11
2021-04-27 04:20:00 +00:00
Mario Rodas
ed630eea3d terraform_0_13: 0.13.6 -> 0.13.7
https://github.com/hashicorp/terraform/releases/tag/v0.13.7
2021-04-27 04:20:00 +00:00
Mario Rodas
dfe332d2b8 terraform_0_12: 0.12.30 -> 0.12.31
https://github.com/hashicorp/terraform/releases/tag/v0.12.31
2021-04-27 04:20:00 +00:00
Diego Rodriguez
da98ae6198
terraform_0_15: 0.15.0 -> 0.15.1 (#120786) 2021-04-27 12:04:55 +02:00
Mario Rodas
e18275de12 terraform_0_15: init at 0.15.0
https://github.com/hashicorp/terraform/releases/tag/v0.15.0
2021-04-15 00:00:00 +00:00
Diego Rodriguez
03bd054f24
terraform_0_14: 0.14.9 -> 0.14.10 2021-04-07 12:40:20 -06:00