Skip to content

Commit 2d7ecfd

Browse files
committed
Remove incorrect part of the hostedzone name.
1 parent cab3849 commit 2d7ecfd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

make.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ commander
8888
const route53Client = new Route53Client({});
8989
const command = new ListHostedZonesByNameCommand({ DNSName: parameters.hostedName });
9090
const response = await route53Client.send(command);
91-
const hostedZoneId = response.HostedZones[0].Id;
91+
const hostedZoneId = response.HostedZones[0].Id.replace('/hostedzone/', '');
9292
parameters.hostedZoneId = hostedZoneId;
9393
await awsArchitect.deployTemplate(stackTemplate, stackConfiguration, parameters);
9494
}

0 commit comments

Comments
 (0)