diff --git a/CHANGELOG.md b/CHANGELOG.md index 57e19b38a6..371d539398 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- Fix Route53 list hosted zones to avoid pagination issue. + ## [15.0.0] - 2023-12-13 ### Fixed diff --git a/pkg/project/project.go b/pkg/project/project.go index 8c4cb74635..3f288b574d 100644 --- a/pkg/project/project.go +++ b/pkg/project/project.go @@ -5,7 +5,7 @@ var ( gitSHA = "n/a" name string = "aws-operator" source string = "https://github.com/giantswarm/aws-operator" - version = "15.0.0" + //version = "15.0.0-patch1" ) func Description() string { @@ -25,5 +25,5 @@ func Source() string { } func Version() string { - return version + return "15.0.0" } diff --git a/service/internal/cphostedzone/cphostedzone.go b/service/internal/cphostedzone/cphostedzone.go index b7fa4ca933..d1cd2f30b4 100644 --- a/service/internal/cphostedzone/cphostedzone.go +++ b/service/internal/cphostedzone/cphostedzone.go @@ -5,6 +5,7 @@ import ( "fmt" "sync" + "github.com/aws/aws-sdk-go/aws" "github.com/aws/aws-sdk-go/service/route53" infrastructurev1alpha3 "github.com/giantswarm/apiextensions/v6/pkg/apis/infrastructure/v1alpha3" "github.com/giantswarm/microerror" @@ -109,7 +110,9 @@ func (h *HostedZone) lookup(ctx context.Context, client Route53, cr infrastructu // installation. So we look it up. h.logger.Debugf(ctx, "finding CP HostedZone IDs") - hostedZonesInput := &route53.ListHostedZonesByNameInput{} + hostedZonesInput := &route53.ListHostedZonesByNameInput{ + DNSName: aws.String(cr.Spec.Cluster.DNS.Domain), + } o, err := client.ListHostedZonesByName(hostedZonesInput) if err != nil {