Skip to content

Commit e0e6d2a

Browse files
committed
Fix typo.
1 parent d31b947 commit e0e6d2a

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"cSpell.words": [
3-
"adventuresindevps",
3+
"adventuresindevops",
44
"livemode",
55
"MANCER",
66
"modulemancer"

make.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)