AWS CLIで’A client error (AuthFailure) occurred when calling the~'なら時刻ずれが怪しい
1年ほど問題なく使えていたaws cli環境で突然エラーが発生。
必ず発生する訳ではなく、もう一度実行すると成功したりする。
$ aws ec2 create-image (以下略)
A client error (AuthFailure) occurred when calling the DescribeImages operation: AWS was not able to validate the provided access credentials
最初は認証関連を疑ったけどググッたら時刻ずれで発生するとのこと。
確認したらNTP間違って5分ほどずれていた。NTP修正することで復旧した。
ちなみにバージョンは
$ aws --version
aws-cli/1.8.13 Python/2.7.5 Linux/3.10.0-229.14.1.el7.x86_64
Author And Source
この問題について(AWS CLIで’A client error (AuthFailure) occurred when calling the~'なら時刻ずれが怪しい), 我々は、より多くの情報をここで見つけました https://qiita.com/LincolnHedgehog/items/342214f032982ac89364著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .