File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "cSpell.words" : [
3- " adventuresindevps " ,
3+ " adventuresindevops " ,
44 " livemode" ,
55 " MANCER" ,
66 " modulemancer"
Original file line number Diff line number Diff line change @@ -100,12 +100,12 @@ commander
100100 serviceName : packageMetadata . name ,
101101 serviceDescription : packageMetadata . description ,
102102 dnsName : 'mcp' ,
103- hostedName : 'adventuresindevps .com'
103+ hostedName : 'adventuresindevops .com'
104104 } ;
105105 const route53Client = new Route53Client ( { region : REGION } ) ;
106106 const command = new ListHostedZonesByNameCommand ( { DNSName : parameters . hostedName } ) ;
107107 const response = await route53Client . send ( command ) ;
108- const hostedZoneId = response . HostedZones [ 0 ] . Id . replace ( '/hostedzone/' , '' ) ;
108+ const hostedZoneId = response . HostedZones . find ( hz => hz . Name === parameters . hostedName ) . Id . replace ( '/hostedzone/' , '' ) ;
109109 parameters . hostedZoneId = hostedZoneId ;
110110 await awsArchitect . deployTemplate ( stackTemplate , stackConfiguration , parameters ) ;
111111
You can’t perform that action at this time.
0 commit comments