terraform: filter out azure-classic while generating data.nix

+2 -14
-7
pkgs/applications/networking/cluster/terraform/providers/data.nix
··· 35 35 version = "1.30.0"; 36 36 sha256 = "1si2fm5nm7gad90lf410zwjf2q5kd8mv6nkkbfnfdzkpkchavr95"; 37 37 }; 38 - azure-classic = 39 - { 40 - owner = "terraform-providers"; 41 - repo = "terraform-provider-azure-classic"; 42 - version = "0.1.1"; 43 - sha256 = "11myqq3wnxvpysjycvwg7b14ll8d9vkn06xb3r26kmc42fkl5xv1"; 44 - }; 45 38 azurerm = 46 39 { 47 40 owner = "terraform-providers";
+1 -6
pkgs/applications/networking/cluster/terraform/providers/default.nix
··· 16 16 # if the versions are not provided via file paths. 17 17 postBuild = "mv go/bin/${repo}{,_v${version}}"; 18 18 }; 19 - 20 - maybeDrv = name: data: 21 - # azure-classic is an archived repo 22 - if name == "azure-classic" then null 23 - else toDrv data; 24 19 in 25 - lib.mapAttrs maybeDrv list 20 + lib.mapAttrs (n: v: toDrv v) list
+1 -1
pkgs/applications/networking/cluster/terraform/providers/update-all
··· 71 71 72 72 org=terraform-providers 73 73 74 - repos=$(get_org_repos "$org" | grep terraform-provider- | grep -v terraform-provider-scaffolding | sort) 74 + repos=$(get_org_repos "$org" | grep terraform-provider- | grep -v terraform-provider-scaffolding | grep -v terraform-provider-azure-classic | sort) 75 75 76 76 77 77 # Get all the providers with index