From db216d95e0401880dadfca4a17e870fd583671e2 Mon Sep 17 00:00:00 2001 From: Adrian Taut Date: Thu, 22 Jan 2026 14:43:59 +0200 Subject: [PATCH] feat: enable CDK deploy and remove temporary additionalDomains --- .github/workflows/infra-deploy.yml | 7 ++++--- infra/lib/constructs/service.ts | 7 +------ 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/infra-deploy.yml b/.github/workflows/infra-deploy.yml index c8c116f92f..6fa278b712 100644 --- a/.github/workflows/infra-deploy.yml +++ b/.github/workflows/infra-deploy.yml @@ -74,6 +74,7 @@ jobs: set -euo pipefail yarn cdk diff --context imageVersion=${{ inputs.imageVersion }} 2>&1 | tee cdk.diff - # TODO: Enable CDK Deploy when ready - # - name: CDK Deploy - # run: yarn cdk deploy --require-approval never --context imageVersion=${{ inputs.imageVersion }} + - name: CDK Deploy + run: | + set -euo pipefail + yarn cdk deploy --require-approval never --context imageVersion=${{ inputs.imageVersion }} diff --git a/infra/lib/constructs/service.ts b/infra/lib/constructs/service.ts index 919b5c2aa3..0834a7d035 100644 --- a/infra/lib/constructs/service.ts +++ b/infra/lib/constructs/service.ts @@ -74,12 +74,7 @@ export class Service extends Construct { SMTP_PASSWORD: ecs.Secret.fromSecretsManager(smtpCredentials, 'password'), }, targetGroupHealthCheck: { path: '/up' }, - dns: { - zoneName: config.hostedZoneName, - recordName: config.fqdn, - // TODO: Remove after DNS propagation - will become primary domain - additionalDomains: [{ zoneName: 'zarhq.dev', recordName: 'fizzy.zarhq.dev' }], - }, + dns: { zoneName: config.hostedZoneName, recordName: config.fqdn }, }); // Grant S3 permissions to the ECS task role