Update configuration and documentation for syncrow.ae domain

This commit is contained in:
faris Aljohari
2025-07-17 20:56:35 -06:00
parent efa53da8c5
commit c0b95a8b4b
6 changed files with 45 additions and 28 deletions
+1 -1
View File
@@ -12,5 +12,5 @@ new BackendStack(app, 'SyncrowBackendStack', {
},
databaseName: 'postgres',
certificateArn:
'arn:aws:acm:me-central-1:482311766496:certificate/bea1e2ae-84a1-414e-8dbf-4599397e7ed0',
'arn:aws:acm:me-central-1:482311766496:certificate/423b343e-402b-4978-89bd-cda25f7a8873',
});
+4 -4
View File
@@ -168,7 +168,7 @@ export class BackendStack extends cdk.Stack {
props.certificateArn,
)
: new acm.Certificate(this, 'ApiCertificate', {
domainName: 'api.syncrow.me',
domainName: 'api.syncos.syncrow.ae',
validation: acm.CertificateValidation.fromDns(),
});
@@ -182,9 +182,9 @@ export class BackendStack extends cdk.Stack {
memoryLimitMiB: 1024,
cpu: 512,
desiredCount: 2,
domainName: 'api.syncrow.me',
domainName: 'api.syncos.syncrow.ae',
domainZone: route53.HostedZone.fromLookup(this, 'SyncrowZone', {
domainName: 'syncrow.me',
domainName: 'syncrow.ae',
}),
certificate: apiCertificate,
protocol: elbv2.ApplicationProtocol.HTTPS,
@@ -356,7 +356,7 @@ export class BackendStack extends cdk.Stack {
// Grant ECS task access to RDS credentials
dbSecret.grantRead(fargateService.taskDefinition.taskRole);
this.apiUrl = 'https://api.syncrow.me';
this.apiUrl = 'https://api.syncos.syncrow.ae';
this.databaseEndpoint = dbCluster.clusterEndpoint.hostname;
// Outputs