Skip to content

Commit 524df61

Browse files
author
Ehsan Shirvanian
committed
fix * records being replaced by any for route53 provider
1 parent 20ac110 commit 524df61

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/provider/providers/route53/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func (p *Provider) Update(ctx context.Context, client *http.Client, ip netip.Add
142142
Path: "/2013-04-01/hostedzone/" + p.zoneID + "/rrset",
143143
}
144144

145-
changeRRSetRequest := newChangeRRSetRequest(p.BuildDomainName(), p.ttl, ip)
145+
changeRRSetRequest := newChangeRRSetRequest(utils.BuildURLQueryHostname(p.owner, p.domain), p.ttl, ip)
146146

147147
// Note the AWS API does not accept JSON for this endpoint
148148
buffer := bytes.NewBuffer(nil)

0 commit comments

Comments
 (0)