From 55533887762db646165905b0b4f237d0890434f4 Mon Sep 17 00:00:00 2001 From: Maciej Mionskowski Date: Thu, 10 Aug 2023 14:25:32 +0200 Subject: [PATCH] fix route53 hosted zone enumeration panic route53 zone enumeration would panic if the response was truncated. --- pkg/providers/aws/route53.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/providers/aws/route53.go b/pkg/providers/aws/route53.go index 5f62f13..4da564d 100644 --- a/pkg/providers/aws/route53.go +++ b/pkg/providers/aws/route53.go @@ -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 }