Skip to content

Commit

Permalink
Slight adjustment for R53 record listings #325
Browse files Browse the repository at this point in the history
  • Loading branch information
iann0036 committed Jun 1, 2023
1 parent 7bba6e6 commit 211a2fc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/services/route53.js
Original file line number Diff line number Diff line change
Expand Up @@ -959,11 +959,12 @@ async function updateDatatableNetworkingAndContentDeliveryRoute53() {

var nextData = data;

while (nextData.NextRecordName && nextData.NextRecordType) {
while (nextData.IsTruncated) {
await sdkcall("Route53", "listResourceRecordSets", {
HostedZoneId: hostedZone.Id.split("/").pop(),
StartRecordType: data.NextRecordType,
StartRecordName: data.NextRecordName
StartRecordName: data.NextRecordName,
StartRecordIdentifier: data.NextRecordIdentifier
}, true).then(async (data) => {
data.ResourceRecordSets.forEach(resourceRecordSet => {
resourceRecordSet['HostedZoneId'] = hostedZone.Id.split("/").pop();
Expand Down

0 comments on commit 211a2fc

Please sign in to comment.