File tree Expand file tree Collapse file tree 1 file changed +11
-5
lines changed
Expand file tree Collapse file tree 1 file changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ Resources:
6262 - !ImportValue Dev02StubsHostedZoneId
6363 - !If
6464 - IsProduction
65- - RootPublicHostedZoneId
66- - BuildPublicHostedZoneId
65+ - !ImportValue RootPublicHostedZoneId
66+ - !ImportValue BuildPublicHostedZoneId
6767 ValidationMethod : DNS
6868
6969 # api domain entries / mapping
@@ -99,9 +99,15 @@ Resources:
9999 Type : A
100100 Name : !Ref JourneyMapApiDomain
101101 HostedZoneId : !If
102- - IsDev01
103- - !ImportValue Dev01StubsHostedZoneId
104- - !ImportValue Dev02StubsHostedZoneId
102+ - IsDevelopment
103+ - !If
104+ - IsDev01
105+ - !ImportValue Dev01StubsHostedZoneId
106+ - !ImportValue Dev02StubsHostedZoneId
107+ - !If
108+ - IsProduction
109+ - !ImportValue RootPublicHostedZoneId
110+ - !ImportValue BuildPublicHostedZoneId
105111 AliasTarget :
106112 DNSName : !GetAtt JourneyMapApiDomain.RegionalDomainName
107113 HostedZoneId : !GetAtt JourneyMapApiDomain.RegionalHostedZoneId
You can’t perform that action at this time.
0 commit comments