There are no .zone files in here (maybe once were, before switching DNS providers, or this was copy-pasted from elsewhere). Also, the validate.terraform target was broken, due to a typo, and not covered in CI, due to being inside another attrset. There's only a single check left, so just call that one `validate`, making it consistent with other //ops terraform workspaces, and getting CI to actually check it. Change-Id: I022138d4d3c74181a53738cb53a48b7945392345 Reviewed-on: https://cl.snix.dev/c/snix/+/30499 Tested-by: besadii Reviewed-by: Ryan Lahfa <masterancpp@gmail.com> Autosubmit: Florian Klink <flokli@flokli.de> |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| default.nix | ||
| dns-snix-dev.tf | ||
| main.tf | ||
| README.md | ||
DNS configuration
This folder contains configuration for our DNS zones. The zones are hosted with Digital Ocean DNS, which possess a Terraform provider for DNS records.
Secrets are needed for applying this. The encrypted file
//ops/secrets/tf-dns.age contains export calls which should be
sourced, for example via direnv, by users with the appropriate
credentials.
Here is an example direnv configuration:
# //ops/secrets/.envrc
source_up
eval $(age --decrypt -i ~/.ssh/id_ed25519 $(git rev-parse --show-toplevel)/ops/secrets/tf-dns.age)
watch_file $(git rev-parse --show-toplevel)/secrets/tf-dns.age