From ace3c9b088ed031cd400f19f9d40e38cab4b91c5 Mon Sep 17 00:00:00 2001 From: Michael McNamara Date: Thu, 11 Apr 2024 16:00:34 +0100 Subject: [PATCH] change FastlyDRTestDNS to point at dualstack.guardian.map.fastly.net --- cdk/lib/__snapshots__/cdk-playground.test.ts.snap | 7 +------ cdk/lib/cdk-playground.ts | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/cdk/lib/__snapshots__/cdk-playground.test.ts.snap b/cdk/lib/__snapshots__/cdk-playground.test.ts.snap index 25c85e30..157665cd 100644 --- a/cdk/lib/__snapshots__/cdk-playground.test.ts.snap +++ b/cdk/lib/__snapshots__/cdk-playground.test.ts.snap @@ -281,12 +281,7 @@ Object { "Name": "cdk-status-resources.guardianapis.com", "RecordType": "CNAME", "ResourceRecords": Array [ - Object { - "Fn::GetAtt": Array [ - "LoadBalancerCdkplayground7C6B4D97", - "DNSName", - ], - }, + "dualstack.guardian.map.fastly.net", ], "Stage": "PROD", "TTL": 3600, diff --git a/cdk/lib/cdk-playground.ts b/cdk/lib/cdk-playground.ts index 92d27535..69443570 100644 --- a/cdk/lib/cdk-playground.ts +++ b/cdk/lib/cdk-playground.ts @@ -60,7 +60,7 @@ export class CdkPlayground extends GuStack { app: ec2App, ttl: Duration.hours(1), domainName: fastlyDRTestDomainName, - resourceRecord: loadBalancer.loadBalancerDnsName, + resourceRecord: 'dualstack.guardian.map.fastly.net', }); new GuCname(this, 'EC2AppDNS', {