Compare commits

...

2 commits

Author SHA1 Message Date
c1f48270e7
feat(infra): Aurora prod backup retention 14d + window; prod-only CDK context
Bump Aurora automated-backup (PITR) retention 7->14d and set a preferred backup
window for the prod tenant. Dedicated AWS Backup vault + cross-account restore
test is a tracked follow-up (no org central-backup design exists yet). Prune the
stale mgmt-account AZ context; prod (011934824531) is the only deploy target.
2026-07-14 19:49:35 -04:00
9107052c9e
chore(infra): region-bound deploy-role DescribeStacks to us-east-1 (sh-security-review IAM-L2) 2026-07-14 19:46:39 -04:00
3 changed files with 11 additions and 3 deletions

View file

@ -1,5 +1,5 @@
{
"availability-zones:account=328440206208:region=us-east-1": [
"availability-zones:account=011934824531:region=us-east-1": [
"us-east-1a",
"us-east-1b",
"us-east-1c",

View file

@ -16,7 +16,12 @@
"Sid": "CdkDeployHealthCheck",
"Effect": "Allow",
"Action": "cloudformation:DescribeStacks",
"Resource": "*"
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:RequestedRegion": "us-east-1"
}
}
},
{
"Sid": "FrontendSiteBucketSync",

View file

@ -105,7 +105,10 @@ export class FoundationStack extends cdk.Stack {
serverlessV2MaxCapacity: 4,
enableDataApi: true,
storageEncrypted: true,
backup: { retention: cdk.Duration.days(7) },
// Aurora native automated backups (PITR). 14-day retention for the prod tenant;
// a dedicated AWS Backup vault + cross-account restore test is a tracked follow-up
// (no org central-backup design exists yet — see the prod-deploy plan Phase 4 fallback).
backup: { retention: cdk.Duration.days(14), preferredWindow: '07:00-08:00' },
deletionProtection: config.retainData,
removalPolicy: config.retainData ? cdk.RemovalPolicy.RETAIN : cdk.RemovalPolicy.DESTROY,
defaultDatabaseName: 'proposals',