By default the output from an AWS CLI Command is in a JSON format, if you did make use of the aws configure command to set a default output value and you want to change it again, well you can do it in a couple of ways.
Option 1: Using "aws configure set" Command
% aws configure set output table

Option 2: Using "aws configure" Command
When you run the "aws configure" command again, you can change the default output value.
% aws configure
AWS Access Key ID [****************H7NS]:
AWS Secret Access Key [****************hwSd]:
Default region name [us-east-2]:
Default output format [table]: json
Option 3: Manually editing the config file.
% nano ~/.aws/config
[default]
region = us-east-2
output = yaml
Note: You can choose from the below output format options.
| Output Format | Description |
|---|---|
json | Output in JSON format (default) |
text | Output in plain text format |
table | Tabular output format. |
yaml | YAML format output |
Provide Feedback For This Article
We take your feedback seriously and use it to improve our content. Thank you for helping us serve you better!
😊 Thanks for your time, your feedback has been registered!
Comments & Discussion
Facing issues? Have questions? Post them here! We're happy to help!