Skip to content

Commit

Permalink
fix route53 hosted zone enumeration panic
Browse files Browse the repository at this point in the history
route53 zone enumeration would panic if the response was truncated.
  • Loading branch information
mionskowski-form3 committed Aug 10, 2023
1 parent 15b85d8 commit 5553388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/providers/aws/route53.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func (d *route53Provider) GetResource(ctx context.Context) (*schema.Resources, e
list.Merge(items)
}
if aws.BoolValue(zoneOutput.IsTruncated) && *zoneOutput.NextMarker != "" {
req.SetMarker(*zoneOutput.Marker)
req.SetMarker(*zoneOutput.NextMarker)
} else {
return list, nil
}
Expand Down

0 comments on commit 5553388

Please sign in to comment.