From 145e1dab68caf3f57c53820c6359bef83a5ce52a Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 31 Aug 2025 13:33:54 -0700 Subject: 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. --- docs/dns.org | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'docs') 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) -- cgit v1.2.3