prabhatsharma/kubernetes-the-hard-way-aws

Broken Pipe issue on IMAGE_ID step

JadeHayes opened this issue · 1 comments

Hi there,
In 03-compute-resources.md a few co-workers and I tried running.

IMAGE_ID=$(aws ec2 describe-images --owners 099720109477 \
  --filters \
  'Name=root-device-type,Values=ebs' \
  'Name=architecture,Values=x86_64' \
  'Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-xenial-16.04-amd64-server-*' \
  | jq -r '.Images|sort_by(.Name)[-1]|.ImageId')

We're running into an error

parse error: Invalid numeric literal at line 1, column 7

[Errno 32] Broken pipe
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe

Would appreciate any ideas/help

whoops, we ran aws configure and our output type was text instead of json.