RedIra
RedIra copied to clipboard
AWS did not return the expected TXT record for fqdn
I have a AWS hosted zone for my domain. Question. Are the TXT records created automatically through the modules or do they need to be added before hand?
╷
│ Error: error creating certificate: error: one or more domains had a problem:
│ [*.fish.mydomain.com] time limit exceeded: last error: NS ns-1089.awsdns-08.org. did not return the expected TXT record [fqdn: _acme-challenge.fish.mydomain.com., value: -xbT3XCU89H27RALqCwxP6dEg0GRb-pXHGEnjpltOMc]:
│ [fish.mydomain.com] time limit exceeded: last error: NS ns-1089.awsdns-08.org. did not return the expected TXT record [fqdn: _acme-challenge.fish.mydomain.com., value: Sz6TyAgNmlrNGfvI-nlrCR_Xg_660AJxWf6Izkocz-A]:
│
│
│ with module.infra-phishing-gophish[0].module.phishing-create-certs.acme_certificate.certificate,
│ on modules/aws/letsencrypt/create-cert-dns/main.tf line 17, in resource "acme_certificate" "certificate":
│ 17: resource "acme_certificate" "certificate" {
Thanks!
I just fixed this by editing theproviders.tf
file in /modules/aws/letsencrypt/create-cert-dns
and the aws_complete.providers.tf
file in the project's root directory to include the latest version of vancluever/acme (2.12.0 at time of writing).