infra/terraform/shell.nix

23 lines
422 B
Nix
Raw Normal View History

2023-05-19 23:51:43 +10:00
{ inputs', ... }:
let
tf-pkgs = inputs'.tf-pkgs.legacyPackages;
terraform' = tf-pkgs.terraform.overrideAttrs (_: { meta = { }; });
in
2023-05-19 23:51:43 +10:00
{
devShells = {
terraform = with tf-pkgs; mkShellNoCC {
2023-05-19 23:51:43 +10:00
packages = [
(terraform'.withPlugins (p: [
2023-05-19 23:51:43 +10:00
p.cloudflare
p.external
p.gandi
p.hydra
p.null
p.sops
p.tfe
]))
];
};
};
}