@cryptotaxi247 / infra / commits / f01657af

terraform: bump nixpkgs

Use the latest faslty provider that can manage TLS subscriptions.

zimbatm committed Aug 30, 2021 at 12:16 UTC f01657af576565558250d4d6760764cec67b1dfb
4 files changed +22 -20
terraform/flake.lock
+3 -3
@@ -2,11 +2,11 @@
2 "nodes": {
3 "nixpkgs": {
4 "locked": {
5 - "lastModified": 1630069564,
6 - "narHash": "sha256-QI0K96Ym4WVStq/R6+RjHdJsziUGzPFHsM3yocRIZTg=",
5 + "lastModified": 1630317359,
6 + "narHash": "sha256-oge95vCFnFZDuMxVO2vsLo/rQEf+ixr4w5njRdJ/DGM=",
7 "owner": "NixOS",
8 "repo": "nixpkgs",
9 - "rev": "a0eae3b8777f1d0d9e865a50fec1728bf279b009",
9 + "rev": "7e495c1b557f8801b538de4a49dac1a5bcae44ba",
10 "type": "github"
11 },
12 "original": {
terraform/flake.nix
+10 -6
@@ -6,12 +6,16 @@
6 devShell.x86_64-linux =
7 with import nixpkgs { system = "x86_64-linux"; };
8 mkShell {
9 - buildInputs =
10 - [ (terraform.withPlugins (p: with p; [
11 - aws
12 - fastly
13 - ]))
14 - ];
9 + buildInputs = [
10 + (terraform.withPlugins (p: with p; [
11 + aws
12 + fastly
13 + ]))
14 + ];
15 +
16 + shellHook = ''
17 + alias tf=terraform
18 + '';
19 };
20
21 };
terraform/terraform.tf
+9
@@ -5,4 +5,13 @@ terraform {
5 key = "targets/terraform"
6 region = "eu-west-1"
7 }
8 +
9 + required_providers {
10 + aws = {
11 + source = "hashicorp/aws"
12 + }
13 + fastly = {
14 + source = "fastly/fastly"
15 + }
16 + }
17 }
terraform/versions.tf deleted
-11
@@ -1,11 +0,0 @@
1 -terraform {
2 - required_providers {
3 - aws = {
4 - source = "hashicorp/aws"
5 - }
6 - fastly = {
7 - source = "nixpkgs/fastly"
8 - }
9 - }
10 - required_version = ">= 0.13"
11 -}