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

Fixed PS string replacement order #36

Closed mikehebert closed 1 year ago

mikehebert commented 4 years ago

Description of changes: In Python 3.8, the order of attributes changed compared to Python 2.7 -- specifically, the order of "return_message" and "return_status" from the initial web request changed.

Updated the ps1 file to properly extract the IP address before issuing the request to update the IP address.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.