aboutsummaryrefslogtreecommitdiff
path: root/.envrc
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-08-31 13:33:54 -0700
committerFranck Cuny <franck@fcuny.net>2025-08-31 13:33:54 -0700
commit145e1dab68caf3f57c53820c6359bef83a5ce52a (patch)
tree592546ad50121b32f386f532e3be8f75cb521d54 /.envrc
parentadd terranix (diff)
downloadinfra-145e1dab68caf3f57c53820c6359bef83a5ce52a.tar.gz
manage terraform configuration with terranix
All the terraform configuration is managed within one state instead of having multiple state for each components. This might not be the best practice but it simplifies things for me. Now, all I need to do is to run `nix run .#tf -- plan` and I can see what will be changed for all the resources that I care about.
Diffstat (limited to '.envrc')
-rw-r--r--.envrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/.envrc b/.envrc
index 91d631a..6e7c094 100644
--- a/.envrc
+++ b/.envrc
@@ -3,3 +3,5 @@ watch_file nix/
watch_file flake/*.nix
watch_file scripts/*.nix
+
+source_env_if_exists .envrc.local