gtaylor / python-route53

A simple Python 2.7/3.x compatible Route53 module. [UNMAINTAINED]
https://python-route53.readthedocs.org
MIT License
40 stars 21 forks source link

Unable to create new A aliases records #18

Open alvmangi opened 7 years ago

alvmangi commented 7 years ago

Executing this:

conn = route53.connect(aws_access_key_id=config['AWS_ACCESS_KEY'], aws_secret_access_key=config['AWS_SECRET_KEY']) zone = conn.get_hosted_zone_by_id(zone_aws) zone.create_a_record(name=name, alias_hosted_zone_id=elb_hosted_zone_id, alias_dns_name=elb)

and, no matter how many arguments I pass I always receive this:

create_a_record() takes at least 3 arguments (4 given)

What could it be?

  Thanks
thekylej commented 7 years ago

Having the same problem. The function requires a list of values, but Amazon API request will fail if those values are provided while trying to create an Alias record.