Repository navigation
feat(cloudflare): import email DNS records for perish.dev - #3
Merged
Merged
Conversation
Brings existing Cloudflare Email Routing records under Terraform management via cf-terraforming + Terraform 1.5+ import blocks: - 3× MX (route1/2/3.mx.cloudflare.net) - TXT SPF (v=spf1 include:_spf.mx.cloudflare.net ~all) - TXT DMARC (_dmarc, policy=none, reports to Cloudflare) - TXT DKIM (cf2024-1._domainkey) Apex (perish.dev) and www A records are intentionally NOT imported here. They currently point at 192.0.2.1 (IANA TEST-NET-1) with a Cloudflare Redirect Rule serving perish.dev -> github.com/perishdev at the edge. The follow-up PR replaces them with GitHub Pages records once perishdev/perishdev.github.io is live, after which the redirect rule will be removed manually. Also: - .gitignore: exclude the terraform binary that cf-terraforming auto-downloads into each leaf when --terraform-binary-path is unset. - docs/import.md: pass --terraform-binary-path and split the generate / import calls because --account and --zone are now mutually exclusive in cf-terraforming. Expected HCP plan: 6 to import, 0 to add, 0 to change, 0 to destroy.
9 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings the six existing Cloudflare DNS records that handle perish.dev email under Terraform management via cf-terraforming and Terraform 1.5+ `import` blocks.
What's intentionally NOT here
The apex `perish.dev` and `www` A records exist in Cloudflare but point at `192.0.2.1` (IANA TEST-NET-1 — unroutable). A Cloudflare Redirect Rule at the edge serves `perish.dev` → `github.com/perishdev`. Both are placeholder infrastructure.
The follow-up PR will:
Side fixes
Test plan