Repository navigation
Move mapletestimony.org mail to Google Workspace in records.tf - #2382
Merged
Mephistic merged 1 commit intoNov 21, 2026
Merged
Conversation
mapletestimony.org is now a secondary domain on PiD's Google Workspace account. The live zone was changed in the Cloud DNS console on Nov 20; this brings records.tf in line so a later apply doesn't revert it. - @ MX: Mailgun (Squarespace forwarding) -> 1 smtp.google.com. - @ TXT: SPF adds include:_spf.google.com; Mailgun stays for now - google._domainkey TXT: Workspace DKIM key (2048-bit, two strings) - zgnogrys2ruw CNAME: Workspace domain verification Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01D33UhNK4EJntgnfY5GaJQf
mvictor55
requested review from
Mephistic,
alexjball,
kiminkim724,
mertbagt,
nesanders,
sashamaryl and
timblais
as code owners
November 20, 2026 16:12
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Mephistic
approved these changes
Nov 21, 2026
This branch was successfully deployed
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
Updates
infra/gcp/dns/records.tfto match the livemapletestimony.orgzone after moving the domain's mail to Google Workspace. No issue number.mapletestimony.org is now a secondary domain on Partners in Democracy's Google Workspace account. mvictor@ is an alias on a PiD account, and info@ and admin@ are Google Groups. Until now, mail went through Squarespace's email forwarding (Mailgun), which could receive but not send.
The live zone was changed by hand in the Cloud DNS console on Nov 20. This PR brings the file in line so that a later
terraform applydoesn't put Mailgun back. If that happened after the Squarespace forwards are deleted, mail to the domain would bounce.Changes:
@ MX:10 mxa.mailgun.org.and10 mxb.mailgun.org.become1 smtp.google.com.@ TXT(SPF): addsinclude:_spf.google.com.include:mailgun.orgstays until we're sure nothing else sends through Mailgun.google._domainkey TXT(new): the Workspace DKIM key. It's 2048-bit, so it's stored as two strings (250 + 158 characters), like the existingsmtp._domainkeyrecord.zgnogrys2ruw CNAME(new): Workspace domain verification. It should stay in place.The two new records use a 300-second TTL, matching what was entered in the console. MX and SPF keep their 14400-second TTL.
Checklist
Not applicable: no frontend, Storybook or Firestore changes.
Screenshots
None. This is a DNS-only change.
Known issues
terraform fmtandvalidateweren't run locally. Terraform Checks will run them on this PR. The file parses as HCL, and the new key next toislwqbu65xh4 CNAMEhas the same length, so alignment is unchanged.include:mailgun.orgfrom SPF, and possiblysmtp._domainkey, once nothing sends through Mailgun.Extra Deploy Steps
terraform -chdir=infra/gcp/dns plan -var-file=envs/prod.tfvars. It should report No changes, because the live zone already has these records. If it shows any change, don't apply; the file and the zone disagree somewhere.Steps to test/reproduce
dig +short MX mapletestimony.orgreturns1 smtp.google.com.dig +short TXT mapletestimony.orgincludesv=spf1 include:_spf.google.com include:mailgun.org ~alldig +short TXT google._domainkey.mapletestimony.orgreturns the DKIM key, matching the value in the file once its two strings are joined.dig +short CNAME zgnogrys2ruw.mapletestimony.orgreturnsgv-lt2cq4dypfmbva.dv.googlehosted.com.🤖 Generated with Claude Code
https://claude.ai/code/session_01D33UhNK4EJntgnfY5GaJQf