@cryptotaxi247 / infra / commits / 13e46733

terraform: fix devshell

Jörg Thalheim committed Oct 15, 2024 at 14:37 UTC 13e467332a9df60a68af3f5506856061c32e3ca8
2 files changed +15 -1
terraform-iam/.envrc
+1 -1
@@ -1,4 +1,4 @@
1 -use flake .#terraform
1 +use flake .#terraform-iam
2
3 export AWS_CONFIG_FILE=$PWD/aws-config
4 export AWS_PROFILE=nixos-prod
terraform/flake-module.nix
+14
@@ -12,6 +12,20 @@ in
12 { pkgs, ... }:
13 {
14 devShells.terraform = pkgs.mkShellNoCC {
15 + packages = [
16 + pkgs.awscli2
17 + # TODO: migrate registry for opentofu as well.
18 + (pkgs.opentofu.withPlugins (p: [
19 + p.aws
20 + p.fastly
21 + p.netlify
22 + p.secret
23 + ]))
24 + ];
25 + };
26 +
27 + # get rid of this, once we fix the migration above.
28 + devShells.terraform-iam = pkgs.mkShellNoCC {
29 packages = [
30 pkgs.awscli2
31 (pkgs.opentofu.withPlugins (