aws config: don’t forget your settings

Edgar Sanchez
May 25, 2021

So I kept getting this error at the AWS CLI command line.

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

The aws cli command was completing successfully and I was piping the result into jq to parse the response.

It took me a while to realize that my .aws/config file was set to output=yaml

I changed it to output=json and boila!

--

--

Edgar Sanchez

A great architect - humble in spirit. dangerous with production access.