0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

CircleCIでElasticBeanstalkデプロイしようとしたら、タイムアウトエラーになった

Last updated at Posted at 2024-06-25

エラー内容

$ aws elasticbeanstalk update-environment --region ap-northeast-1 .....
コマンドを実行したところ、デプロイはできているっぽいなんですが、以下のエラーが発生しました。

WARNING: terminal is not fully functional
Press RETURN to continue
....

....
Too long with no output (exceeded 10m0s): context deadline exceeded

解決方法

CircleCIの設定ファイルに、AWS_PAGERを空文字に設定することで解決しました。

deploy:
    environment:
      AWS_DEFAULT_REGION: ap-northeast-1
      AWS_PAGER: "" # aws-cli v2で有効になったページングプログラムを無効にする
    docker:
      - image: fooo:latest
    steps:
      - checkout
      ....

(aws-cliv2から有効になった機能によってこのような問題が引き起こされていたみたいです。)
詳しい情報はこちら

終わりに

AWS_PAGERを設定したら、1分も掛からずに終わった😂

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?