mirror of
https://github.com/Sea-Haven-Industries/engineering-handbook.git
synced 2026-09-30 09:13:14 +00:00
docs(aws): note hcp terraform for stack migrations
Point migrating stacks at the org-baseline checklist; leave SAM/CDK defaults for greenfield serverless.
This commit is contained in:
parent
f16d448822
commit
17e61f3585
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue