could not update cnames of a distribution #1845

Open
jumping opened this Issue Nov 5, 2013 · 2 comments

Comments

Projects
None yet
3 participants
Contributor

jumping commented Nov 5, 2013

I tried to update cnames of a distribution, but got error messages.

>>> cd.update(cnames=dis.cnames)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.7/site-packages/boto-2.15.0-py2.7.egg/boto/cloudfront/distribution.py", line 359, in update
    self.etag = self.connection.set_distribution_config(self.id, self.etag, new_config)
  File "/Library/Python/2.7/site-packages/boto-2.15.0-py2.7.egg/boto/cloudfront/__init__.py", line 163, in set_distribution_config
    return self._set_config(distribution_id, etag, config)
  File "/Library/Python/2.7/site-packages/boto-2.15.0-py2.7.egg/boto/cloudfront/__init__.py", line 122, in _set_config
    raise CloudFrontServerError(response.status, response.reason, body)
boto.cloudfront.exception.CloudFrontServerError: CloudFrontServerError: 400 Bad Request
<?xml version="1.0"?>
<ErrorResponse xmlns="http://cloudfront.amazonaws.com/doc/2010-11-01/"><Error><Type>Sender</Type><Code>IllegalUpdate</Code><Message>You cannot update the specified distribution using this API version.</Message></Error><RequestId>1400a8e8-45ed-11e3-95e4-3f1c6bfa28b9</RequestId></ErrorResponse>
Owner

danielgtaylor commented Nov 16, 2013

Unfortunately the CloudFront support in boto does not support the latest CloudFront API version. The core developer team is working on service updates like this one as time permits, but I cannot give you an exact date that it will be supported.

What's the status on the API support? I've got CloudFront serving static files & have been looking at how I might create an admin feature or deployment method to invalidate the CloudFront caches.

If there wasn't the latest API support 2 years ago, where does boto stand now? Has this been left open after support has been integrated? @danielgtaylor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment