terraform-providers: also include name in error messages
This commit is contained in:
parent
c3ffb685fe
commit
b654502b2b
1 changed files with 5 additions and 5 deletions
|
@ -66,13 +66,13 @@ let
|
||||||
# Put all the providers we not longer support in this list.
|
# Put all the providers we not longer support in this list.
|
||||||
removed-providers =
|
removed-providers =
|
||||||
let
|
let
|
||||||
archived = date: throw "the provider has been archived by upstream on ${date}";
|
archived = name: date: throw "the ${name} terraform provider has been archived by upstream on ${date}";
|
||||||
removed = date: throw "removed from nixpkgs on ${date}";
|
removed = name: date: throw "the ${name} terraform provider removed from nixpkgs on ${date}";
|
||||||
in
|
in
|
||||||
lib.optionalAttrs config.allowAliases {
|
lib.optionalAttrs config.allowAliases {
|
||||||
opc = archived "2022/05";
|
opc = archived "opc" "2022/05";
|
||||||
oraclepaas = archived "2022/05";
|
oraclepaas = archived "oraclepaas" "2022/05";
|
||||||
template = archived "2022/05";
|
template = archived "template" "2022/05";
|
||||||
};
|
};
|
||||||
|
|
||||||
# excluding aliases, used by terraform-full
|
# excluding aliases, used by terraform-full
|
||||||
|
|
Loading…
Reference in a new issue