node-acme-lambda icon indicating copy to clipboard operation
node-acme-lambda copied to clipboard

Wait for Route53 changes to propagate

Open thenickdude opened this issue 3 years ago • 0 comments

Avoids these sporadic errors, which are caused by attempting to issue certs before records have propagated to all Route53 servers:

{
  "type": "urn:ietf:params:acme:error:orderNotReady",
  "detail": "Order's status (\"invalid\") is not acceptable for finalization",
  "status": 403
}

Waiting for the ChangeResourceRecordSets result to enter the INSYNC state ensures that the ACME server will see the new record regardless of which Route53 server it queries.

Fixes #33

thenickdude avatar Jul 14 '22 05:07 thenickdude