エラー内容
$ 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分も掛からずに終わった😂
参考
amazon/aws-cli イメージを CircleCI で使う - Qiita
先日、待ちに待った AWS 公式の aws-cli イメージ がついに公開されました。 というわけで早速 CircleCI で使ってみたのですが、少しだけハマったので共有します。 結論から CircleCI で amazon/aws-cli イメージを使う場合は環境変数 ...

WARNING: terminal is not fully functional - cimg/python:3.8-node
I am attempting to upgrade the aws-cli Orb from 0.0.13 to 1.0.0, and also using a newer image cimg/python:3.8-node (instead of node:12) to skip installing pip but also get LTS of nodejs baked in. The job seems to be running fine until I get to a simple yarn command that hangs, and at the top of the output of that step is WARNING: terminal is not fully functional The yarn command is a simple aws cloudformation validate-template ... and I am able to SSH and run everything just fine. This also ...

