python-route53 icon indicating copy to clipboard operation
python-route53 copied to clipboard

Unable to create new A aliases records

Open alvmangi opened this issue 8 years ago • 1 comments

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

alvmangi avatar Jan 25 '17 20:01 alvmangi

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.

thekylej avatar Apr 05 '17 16:04 thekylej