Skip to content

Cut over dynamoosejs.com to rrainn Cloud Pages - #10

Merged
fishcharlie merged 1 commit into
mainfrom
codex/dynamoose-pages-cutover
Nov 26, 2026
Merged

fishcharlie merged 1 commit into
mainfrom
codex/dynamoose-pages-cutover

Conversation

@fishcharlie

Copy link
Copy Markdown
Member

Summary

Enable the dynamoosejs.com apex cutover. Terraform updates the existing Cloudflare CNAME target to the generated rrainn Cloud Pages hostname and sets proxied = false in the same apply. Cloudflare remains authoritative for DNS.

The ownership TXT, DNS-01 CNAME, and versioned and prerelease hostnames retain their current records. CloudFront and S3 remain available for rollback by reverting the cutover setting.

Verification

  • Direct HTTPS on Pages returned the apex documentation over IPv4 and IPv6 using the issued apex certificate.
  • Direct HTTP redirected to the HTTPS docs URL, and all five legacy hostnames returned HTTP 200 before the switch.
  • Terraform validation, recursive formatting, and all five mocked plans passed. An independent stateful mocked plan showed one in-place update of the apex CNAME target and proxy flag.
  • After apply, verify the Cloudflare authoritative A and AAAA answers, direct public Pages HTTPS over both address families, and the legacy hosts.

Generated using AI (OpenAI Codex, GPT-6). Charlie Fish authorized the apex cutover. Codex prepared the Terraform change and ran the preflight checks.

@github-actions

Copy link
Copy Markdown

Terraform Format and Style 🖌success

Terraform Initialization ⚙️success

Terraform Validation 🤖success

Validation Output

Success! The configuration is valid.


Terraform Plan 📖success

Show Plan

terraform

Warning: Deprecated Parameter

The parameter "dynamodb_table" is deprecated. Use parameter "use_lockfile"
instead.
cloudflare_record.beta_dynamoosejs_com: Refreshing state... [id=81f8386ee2fea65f9ca440caf3d85762]
cloudflare_record._atproto_dynamoosejs_com: Refreshing state... [id=7cfbcee69552f21e460d660ebdfe5542]
cloudflare_record.v2_dynamoosejs_com: Refreshing state... [id=76aae3d7f7097d5abbcc8ba16fcea3e9]
cloudflare_record.v3_dynamoosejs_com: Refreshing state... [id=314d1aab10215d975081643685a19736]
cloudflare_record.dynamoosejs_com_pages_certificate[0]: Refreshing state... [id=6be1bc35203b52b7e7fbe3a4a96caf58]
cloudflare_record.alpha_dynamoosejs_com: Refreshing state... [id=1ebd0bfbdf04f3b93946ba07ef631030]
cloudflare_record.v1_dynamoosejs_com: Refreshing state... [id=200fae8a38fceee094a8393a89876a56]
cloudflare_record.dynamoosejs_com_pages_ownership[0]: Refreshing state... [id=d04ab5391a7399e47e7beab6a45ded21]
cloudflare_record.dynamoosejs_com: Refreshing state... [id=1fac7d0b18019d2ec00fba5e2bbe8871]

Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
  ~ update in-place

Terraform will perform the following actions:

  # cloudflare_record.dynamoosejs_com will be updated in-place
  ~ resource "cloudflare_record" "dynamoosejs_com" {
      + allow_overwrite = false
        id              = "1fac7d0b18019d2ec00fba5e2bbe8871"
        name            = "dynamoosejs.com"
      ~ proxied         = true -> false
      ~ value           = "dmz8ymrutkf3e.cloudfront.net" -> "times-square-pink-cgpgr.pages.cloud.rrainn.com"
        # (9 unchanged attributes hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

─────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't
guarantee to take exactly these actions if you run "terraform apply" now.

Pusher: @fishcharlie, Action: pull_request, Working Directory: ``, Workflow: Terraform

@fishcharlie
fishcharlie merged commit 4d9d1b1 into main Nov 26, 2026
1 check passed
@fishcharlie
fishcharlie deleted the codex/dynamoose-pages-cutover branch November 26, 2026 22:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant