This commit is contained in:
lyenliang 2024-06-13 00:24:29 +00:00 committed by GitHub
commit 0e90cb2ef4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -9,7 +9,7 @@
#All `_sleep` commands are included to avoid Route53 throttling, see #All `_sleep` commands are included to avoid Route53 throttling, see
#https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-requests #https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/DNSLimitations.html#limits-api-requests
AWS_HOST="route53.amazonaws.com" AWS_HOST="${AWS_HOST:-route53.amazonaws.com}"
AWS_URL="https://$AWS_HOST" AWS_URL="https://$AWS_HOST"
AWS_WIKI="https://github.com/acmesh-official/acme.sh/wiki/How-to-use-Amazon-Route53-API" AWS_WIKI="https://github.com/acmesh-official/acme.sh/wiki/How-to-use-Amazon-Route53-API"
@ -314,7 +314,7 @@ aws_rest() {
RequestDateOnly="$(echo "$RequestDate" | cut -c 1-8)" RequestDateOnly="$(echo "$RequestDate" | cut -c 1-8)"
_debug2 RequestDateOnly "$RequestDateOnly" _debug2 RequestDateOnly "$RequestDateOnly"
Region="us-east-1" Region="${Region:-us-east-1}"
Service="route53" Service="route53"
CredentialScope="$RequestDateOnly/$Region/$Service/aws4_request" CredentialScope="$RequestDateOnly/$Region/$Service/aws4_request"