4
我试图通过AWS CLI删除一个cloudfront发行版。这样做AWS CLI删除cloudfront发行版 - InvalidIfMatchVersion
aws cloudfront delete-distribution --id <DISTRIBUTION-ID>
我收到以下错误:
A client error (InvalidIfMatchVersion) occurred when calling the DeleteDistribution operation:
The If-Match version is missing or not valid for the resource.
我不太明白,这个错误是什么手段,以及如何避开它。
从this documentation我假设,这是必要的禁用的分配第一。但如果是这样 - 我如何使用CLI来做到这一点?
非常感谢!第一行看起来破碎了,但以逗号结尾? – MoMolog 2014-10-05 08:48:14
已更新以反映其截断。我的例子是调出etag所在的部分。 – imperalix 2014-10-05 18:01:35
了解,谢谢!现在我仍然在努力进行必要的状态更新,也许你可以在那里帮助:http://stackoverflow.com/questions/26206116/aws-cli-disable-distribution – MoMolog 2014-10-05 19:01:02