~ knotless Search/
↑↓ move↵ open⇧↵ all results

chadtmiller.com/knotless

git that lives in your Atmosphere account

knotless.dev
1 collaborator

knotless 0.13.0 Latest 2 packages, 1 image

1
10

deploy: knotless.dev's DNS is kept in the infra repository

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/knotless:deploy/dns-to-infra

What changes

deploy/ no longer holds Terraform. main.tf, variables.tf, outputs.tf, versions.tf, the tfvars example and the lock file are gone, and so are the Terraform lines in deploy/.gitignore. The README says what records a domain needs, and that knotless.dev's are kept by stacks/edge in the infra repository, beside stacks/knotless, which makes the host.

Why

The Terraform here had no state left anywhere, so nothing applied it. Its records went on drifting by hand: runner.knotless.dev moved boxes, and new handles were added. hetzner-infra's stacks/edge now adopts every record it named, by import: the apex A/AAAA, www, runner A/AAAA and the _atproto TXT of ci, lexicons, review, runner and triage. That stack is planned on every push and applied when asked, by hetzner-infra's own runner. Keeping a second definition here would leave two sources for the same records.

_lexicon.knotless.dev stays with publish-lexicons, and the Workers' custom domains (ci, review, triage) with their wrangler.toml.

How it was checked

hetzner-infra's apply of stacks/edge at c3699492 imported all ten records with no value changed. A plan after it says "No changes", and knotless.dev and runner.knotless.dev resolve as before. Nothing here builds from deploy/*.tf.

Shortcomings

Someone running knotless on their own domain loses a ready-made Terraform for its records; the README lists what to make instead.

🤖 Generated with Claude Code

Approved

This removes the Terraform from deploy/ (the .tf files, the tfvars example, the lock file and the Terraform lines in .gitignore). It points the README at stacks/edge in the infra repository for knotless.dev's records.

I searched the base tree for other references to .tf, tfvars and terraform. Apart from the highlighter's test strings, the only ones are in files this pull changes. The README's file table, the terraform apply line and the Cloudflare IPv4 note are all updated. The one Terraform mention left, the stacks/knotless host, already points at the infra repository and is still correct.

Nothing here reads the deleted files. I couldn't check the claim that stacks/edge imports the records with no change, since it lives in another repository, but it doesn't affect this diff.

Merged as 68bb613