Repository navigation
chore: remove CDK, Elastic Beanstalk and SOPS deploy bits (DO NOT MERGE yet) - #10
Draft
Alexanderamiri wants to merge 1 commit into
Draft
Alexanderamiri wants to merge 1 commit into
Alexanderamiri wants to merge 1 commit into
Conversation
Alexanderamiri
marked this pull request as draft
October 24, 2026 13:33
This was referenced Oct 24, 2026
Alexanderamiri
force-pushed
the
platform/6-cleanup
branch
from
October 24, 2026 13:36
bbecb66 to
2751c68
Compare
Alexanderamiri
force-pushed
the
platform/6-cleanup
branch
from
October 24, 2026 13:38
2751c68 to
4cf874a
Compare
After the cutover the platform pipeline is the only deploy path. Remove the CDK stack (cdk/, cdk-deploy.yml, Dockerfile.cdk), the SOPS env file and run-local.sh that decrypted it, the Elastic Beanstalk packaging (Procfile, deploy.sh, package.sh), the unused docker/app image and the ghcr edge build (maven.yaml), which deploy.yml replaces. Do not merge until 14 days after the cutover and after the old CloudFormation stack and Elastic Beanstalk app have been deleted. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Alexanderamiri
force-pushed
the
platform/6-cleanup
branch
from
October 24, 2026 13:50
4cf874a to
7e3d193
Compare
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.
Why
Once the platform serves production, the old deploy paths are dead code. They are also a risk:
cdk deploywould recreate a second production service, and the SOPS file holds production credentials.What
Removes:
cdk/,.github/workflows/cdk-deploy.yml,Dockerfile.cdkconf/.enc.envandrun-local.sh, which decrypted itProcfile,deploy.sh,package.sh(Elastic Beanstalk packaging)docker/app/(unused image).github/workflows/maven.yaml(ghcredgeimage;deploy.ymlbuilds and tests now)Also updates
README.md,docs/platform.mdand.dockerignore.How the platform piece works
After this, the whole deployment of moresleep is
app.yaml+Dockerfile+ a 10-linedeploy.yml. Everything else (VPC, load balancer, certificates, cluster, IAM, state, alarms, budget) is shared platform infrastructure owned by javaBin/platform.Human decommission before merging (outside Terraform, needs an admin)
aws cloudformation delete-stack --stack-name moresleepstack. This deletes themoresleep-testcluster and service, the target group, listener rule 15 on Default-ALB, the roles and the log group. The database is not in this stack.Moresleep-prod-11. Delete the EB applicationmoresleepand its S3 application versions, which contain decryptedconfig.properties.test-sleepingpill.javazone.nois gone.javabin secret set, and change the DB password withALTER USER.How verified
grepfinds no remaining references tosops,.enc.env,cdkorProcfileoutside history and the guide.mvn verifyand theDockerfileare unaffected.🤖 Generated with Claude Code