This repository was archived by the owner on Jul 22, 2026. It is now read-only.
chore: sunset — tear down infra + disable deploys#17
Merged
Conversation
App is being decommissioned. Comment out (not delete) every infra/*.tf resource and the three deploy-* workflows so: - merging to master makes HCP Terraform plan a full destroy of the managed AWS + Cloudflare resources (approve in the HCP UI), and - the deploy workflows can never redeploy the torn-down stack. backend.tf / providers.tf / variables.tf stay live so the destroy can authenticate. Files are commented, not removed, to keep the repo a readable archive; restore from git history to revive. docs/progress.md records the sunset state + the manual teardown steps for resources Terraform never owned (catalog Worker, repo secrets, deploy IAM user, API keys) and the R2-empty-before-destroy ordering. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
The app is being sunset. This PR commented out (not deleted) all Terraform-managed resources and the three deploy workflows so the repo stays a readable archive.
infra/*.tf— every resource block is#-commented.backend.tf,providers.tf,variables.tfstay live so the destroy run can still authenticate to AWS (OIDC) and Cloudflare. On merge tomaster, HCP Terraform plans a full destroy — approve it in the HCP workspace UI..github/workflows/deploy-{web,catalog,api}.yml—#-commented so nothing can redeploy the torn-down stack.ci.ymlleft intact.docs/progress.md— records the sunset state + manual teardown steps.What the HCP destroy tears down
3 Lambdas + streaming Function URL · ECR repo (
force_delete, images go with it) · HTTP API v2 + authorizer + routes + stage · 4 CloudWatch log groups ·hipo-pipeline-lambda-execIAM role + policies ·hipo-catalogKV namespace ·hipo-filingsR2 bucket ·hipo-webPages project + deployments ·hipo.vsh852.comPages domain + CNAME. Thevsh852.comzone is a data source — untouched.hipo-filingsR2 bucket — Cloudflare refuses to delete a non-empty bucket.hipo-catalogscript + cron) — wrangler-owned, not in Terraform:wrangler delete --name hipo-catalog.api_key, and delete the HCP workspace if done.Verification
tf fmt+tf validatepass ·web:check55 tests pass ·api:test73 tests pass.lintfailed only on a network timeout downloading the ruff binary — changes are comments + markdown, nothing for ruff to flag.🤖 Generated with Claude Code