aws-containers / amazon-ecs-exec-checker

🚀 Pre-flight checks for ECS Exec

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Version number printed at wrong place with AWS CLI v1

toricls opened this issue · comments

Since the AWS CLI v1 outputs its version number to the standard error, the version number value is not stored in the variable.

Behavior

...
-------------------------------------------------------------
Prerequisites for the AWS CLI to use ECS Exec
-------------------------------------------------------------
aws-cli/1.19.32 Python/2.7.16 Darwin/20.3.0 botocore/1.20.32
  AWS CLI Version        | OK ()
...

Expected

...
-------------------------------------------------------------
Prerequisites for the AWS CLI to use ECS Exec
-------------------------------------------------------------
  AWS CLI Version        | OK (aws-cli/1.19.32 Python/2.7.16 Darwin/20.3.0 botocore/1.20.32)
...