aboutsummaryrefslogtreecommitdiff
path: root/docs
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 /docs
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 'docs')
-rw-r--r--docs/dns.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/docs/dns.org b/docs/dns.org
index 53a0873..1972f5f 100644
--- a/docs/dns.org
+++ b/docs/dns.org
@@ -2,10 +2,9 @@
** fcuny.net
To access the console: https://dash.cloudflare.com/2c659eeaf2ae9a0206c589c706b3748e/fcuny.net
-The records are managed with =tofu=, and I use =nix= to manage the records. To apply the changes, first run =tofu-plan= to see the changes, then =tofu-apply= if they look correct.
+The records are managed with =tofu=, and I use =nix= to manage the records. To apply the changes, first run =nix run .#tf -- plan= to see the changes, then =nix run .#tf -- apply= if they look correct.
To renew API token: https://dash.cloudflare.com/profile/api-tokens
The token should:
- be able to edit zone DNS
- limited to the domain =fcuny.net=
-- have a reasonable TTL (~60 days)