sTywin / dyndns53

Implementation of dyndns2 dynamic DNS protocol for AWS Lambda, API Gateway, and Route 53
MIT License
66 stars 25 forks source link

add Makefile #5

Open mroch opened 8 years ago

mroch commented 8 years ago

I scripted the installation instructions from the README (super detailed, thanks!) using the aws CLI.

just run aws configure first to set up your credentials, then make should set everything up. there are a couple variables at the top of Makefile in case you want to rename policies, roles, etc. still need to manually patch conf in dyndns53.py though.

it creates a bunch of state files in a build/ directory which it uses to keep track of ARNs and IDs it needs, and to make it idempotent so you can run make multiple times without getting errors. if you update dyndns53.py and rerun make, it'll just upload the changes.

tested on Mac.

sTywin commented 8 years ago

Thanks, this looks great :)

I haven't forgotten about it, I've just been super tied up, so haven't gotten around to testing it. I want to make sure I can use it reliably end-to-end before I pull it in. I'll want to update the README as well.

asheiduk commented 4 years ago

Thank you for the Makefile, it is makes the setup much easier. I've noticed two rough things: