fix(route53): don't replace wildcard character * with any when sending update request (#1036)

Co-authored-by: Ehsan Shirvanian <ehsan@shirvanian.devm>
This commit is contained in:
Ehsan Shirvanian
2025-10-07 12:27:43 -04:00
committed by GitHub
parent 3e63897769
commit 95bcce2809

View File

@@ -142,7 +142,7 @@ func (p *Provider) Update(ctx context.Context, client *http.Client, ip netip.Add
Path: "/2013-04-01/hostedzone/" + p.zoneID + "/rrset",
}
changeRRSetRequest := newChangeRRSetRequest(p.BuildDomainName(), p.ttl, ip)
changeRRSetRequest := newChangeRRSetRequest(utils.BuildURLQueryHostname(p.owner, p.domain), p.ttl, ip)
// Note the AWS API does not accept JSON for this endpoint
buffer := bytes.NewBuffer(nil)