Comments on: Python Script for AWS’ Route 53 API Authentication https://www.stormacq.com/python-script-for-aws-route-53-api-authentication/ Some not-so random thoughts about this small IT World Mon, 25 Jan 2016 12:47:01 +0000 hourly 1 https://wordpress.org/?v=4.9.1 By: Sébastien Stormacq https://www.stormacq.com/python-script-for-aws-route-53-api-authentication/comment-page-1/#comment-5727 Wed, 12 Mar 2014 12:27:18 +0000 https://www.stormacq.com/?p=544#comment-5727 Actually, if you’re serious about this I would encourage you to explore the higher level Python SDK (http://boto.readthedocs.org/en/latest/ref/route53.html) – It contains methods and objects to manage your Route 53 configuration without bothering about the low level HTTP communication. This blog post is over a year old and AWS did add many new features in Boto since then 🙂

]]>
By: andrew https://www.stormacq.com/python-script-for-aws-route-53-api-authentication/comment-page-1/#comment-5726 Wed, 12 Mar 2014 08:06:15 +0000 https://www.stormacq.com/?p=544#comment-5726 Thee posts all by me!

I got it working. I can view the records, and using the Create xml create a new record set.. but this is where my knowledge stops…

Two things, I can’t seem to modify a record I get this:

SenderInvalidChangeBatchTried to create resource record set [name=’vpn.amelvin.co.uk.’, type=’CNAME’] but it already exists662bd0af-a9bc-11e3-ad76-25e436c9fcb4

I can create a new record but not modify one. so this is a start..

The second thing is that you xml script has the amazon.public.dns just written in there.. How do you automate it so that the xml file picks up the current address of the amazon instance?

If I can get that working then it would be great!

Then I just need the VPN to work in ubuntu 13 and I’m set!

]]>
By: andrew https://www.stormacq.com/python-script-for-aws-route-53-api-authentication/comment-page-1/#comment-5725 Wed, 12 Mar 2014 07:36:08 +0000 https://www.stormacq.com/?p=544#comment-5725 ok ignore that, I found the instructions at the bottom of the read me file… However,

Now I get

Unable to determine service/operation name to be authorized

not really sure how to configure the url… part

]]>
By: andrew https://www.stormacq.com/python-script-for-aws-route-53-api-authentication/comment-page-1/#comment-5724 Wed, 12 Mar 2014 06:47:04 +0000 https://www.stormacq.com/?p=544#comment-5724 Hi,

Im stuck at how to write the key + secret key to the file.. i get the following error

File “./AWSDNSAuth.py”, line 160, in
sys.exit(main())
File “./AWSDNSAuth.py”, line 148, in main
raise(e)
File “./AWSDNSAuth.py”, line 104, in main
config.read(args.credentials)
File “/usr/lib/python3.3/configparser.py”, line 689, in read
self._read(fp, filename)
File “/usr/lib/python3.3/configparser.py”, line 1075, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: /home/ubuntu/aws/aws.key, line: 1
‘xxxxxxxxxxxxxxxxx’
-:1: parser error : Document is empty

^
-:1: parser error : Start tag expected, ‘<' not found

^

]]>