awslabs / route53-dynamic-dns-with-lambda

A Dynamic DNS system built with API Gateway, Lambda & Route 53.
Apache License 2.0
486 stars 167 forks source link

fresh cloud9 amazon linux missing shasum #52

Closed bmcdonough closed 9 months ago

bmcdonough commented 9 months ago
username:~/environment/route53-dynamic-dns-with-lambda (master)$ ./dyndns.sh -m set -u https://<endpoint>.lambda-url.us-east-1.on.aws/ -h example.dyn.domain.com -s shared_secret
./dyndns.sh: line 62: shasum: command not found
{"return_status": "fail", "return_message": "You must pass a valid sha256 hash in the hash= argument."},{"status_code":"400"}
username:~/environment/route53-dynamic-dns-with-lambda (master)$ yum update
username:~/environment/route53-dynamic-dns-with-lambda (master)$ yum install perl-Digest-SHA
masberta commented 9 months ago

Thanks for spotting this, I did not test the DNS record update script on Cloud9 and was not aware of shasum binary missing.

I've added instructions in the Readme https://github.com/awslabs/route53-dynamic-dns-with-lambda/commit/4743f9bcf88cb937bd0c64480c98466b79c0d939

masberta commented 9 months ago

closing issue.