Enhances CDK deployment process and documentation

Improves the deployment script to use the UAE  region and adds context for the CDK stack.
This commit is contained in:
Ammar Qaffaf
2025-07-07 09:37:10 +03:00
parent 374fb69804
commit fbf62fcd66
6 changed files with 185 additions and 14 deletions

View File

@ -8,8 +8,8 @@ const app = new cdk.App();
new BackendStack(app, 'SyncrowBackendStack', {
env: {
account: process.env.CDK_DEFAULT_ACCOUNT,
region: process.env.CDK_DEFAULT_REGION,
region: 'me-central-1',
},
databaseName: 'syncrow',
certificateArn: app.node.tryGetContext('certificateArn'),
certificateArn: 'arn:aws:acm:me-central-1:482311766496:certificate/bea1e2ae-84a1-414e-8dbf-4599397e7ed0',
});