Closed coel closed 7 months ago
While updating the versions is probably useful, I've resolved my problem by specifying the build from master
to specific version:
FROM caddy:2.7.6-builder AS builder
RUN xcaddy build v2.7.6 \
--with github.com/caddy-dns/route53
Update the AWS SDKs to avoid this issue.
For background, I am building caddy using:
Then when trying to solve the DNS challenge I receive an error like:
[tls.example.com] Obtain: [tls.example.com] solving challenges: presenting for challenge: adding temporary record for zone "example.com.": not found, ResolveEndpointV2 (order=https://acme-v02.api.letsencrypt.org/acme/order/0/0) (ca=https://acme-v02.api.letsencrypt.org/directory)
This lead me to the issue above suggesting it could be caused by a mix of older and newer versions of the AWS SDK.
Looking at libdns/route53, it appears to have relatively newer versions. I don't get the error after these updates.