docs(aws): note hcp terraform for stack migrations (#31)
Some checks are pending
ci / ci / ci (push) Waiting to run

Point migrating stacks at the org-baseline checklist; leave SAM/CDK
defaults for greenfield serverless.
This commit is contained in:
Adam Moussa 2026-08-05 16:09:05 -04:00 • committed by GitHub
parent f16d448822
commit a34f9c9e8a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,8 @@
- **SAM** is the default for new serverless stacks (Lambda + API Gateway + DynamoDB)
- **CDK** only for complex infrastructure (ECS, VPCs, multi-service compositions)
- Every deployed resource should be managed by CloudFormation
- **Migrating stacks** from mgmt into seahaven-prod / seahaven-dev use **HCP Terraform** (migrate-and-convert; do not convert in place in mgmt). The authoritative per-stack steps live in the `seahaven-org-baseline` README migration checklist (plan/apply role patterns, boundary widen, artifact packaging, cutover). Reference implementation: `afi-backup-monitor` (PLAT-56).
- Every deployed resource should be managed by IaC (CloudFormation via SAM/CDK, or HCP Terraform state for migrated stacks)
- No manually-created Lambdas, roles, or other resources outside of IaC
## Lambda Defaults