Closed jerfer closed 1 year ago
I cannot successfully invoke the Bash client. It always fails with a route53-ddns-client.sh: Request failed: error
route53-ddns-client.sh: Request failed:
Digging deeper and invoking curl against the API directly, yields a more detailed error: {"stackTrace": [["/var/task/index.py", 355, "lambda_handler", "return_dict = run_set_mode(set_hostname, record_type, validation_hash, source_ip, set_ip)"], ["/var/task/index.py", 213, "run_set_mode", "lock_record = record_config_set['Item']['lock_record']"]], "errorType": "KeyError", "errorMessage": "'lock_record'"}
{"stackTrace": [["/var/task/index.py", 355, "lambda_handler", "return_dict = run_set_mode(set_hostname, record_type, validation_hash, source_ip, set_ip)"], ["/var/task/index.py", 213, "run_set_mode", "lock_record = record_config_set['Item']['lock_record']"]], "errorType": "KeyError", "errorMessage": "'lock_record'"}
Modifying the Bash script to not pipe the error through JQ yields the exact same error.
The AWS Console was used to set everything up and the chosen options were:
Is it something I missed in the setup or invocation of the client?
Hello, code base has been rewritten, please open a new issue if you encounter similar problems with the new solution. Thanks!
I cannot successfully invoke the Bash client. It always fails with a
route53-ddns-client.sh: Request failed:
errorDigging deeper and invoking curl against the API directly, yields a more detailed error:
{"stackTrace": [["/var/task/index.py", 355, "lambda_handler", "return_dict = run_set_mode(set_hostname, record_type, validation_hash, source_ip, set_ip)"], ["/var/task/index.py", 213, "run_set_mode", "lock_record = record_config_set['Item']['lock_record']"]], "errorType": "KeyError", "errorMessage": "'lock_record'"}
Modifying the Bash script to not pipe the error through JQ yields the exact same error.
The AWS Console was used to set everything up and the chosen options were:
Is it something I missed in the setup or invocation of the client?