Merge pull request #175577 from Mic92/terraform

terraform-providers: also include name in error messages
This commit is contained in:
Jörg Thalheim 2022-05-31 09:44:15 +01:00 committed by GitHub
commit 084930fa14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,13 +66,13 @@ let
# Put all the providers we not longer support in this list.
removed-providers =
let
archived = date: throw "the provider has been archived by upstream on ${date}";
removed = date: throw "removed from nixpkgs on ${date}";
archived = name: date: throw "the ${name} terraform provider has been archived by upstream on ${date}";
removed = name: date: throw "the ${name} terraform provider removed from nixpkgs on ${date}";
in
lib.optionalAttrs config.allowAliases {
opc = archived "2022/05";
oraclepaas = archived "2022/05";
template = archived "2022/05";
opc = archived "opc" "2022/05";
oraclepaas = archived "oraclepaas" "2022/05";
template = archived "template" "2022/05";
};
# excluding aliases, used by terraform-full