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 |
-
Facing issues? Have Questions? Post them here! I am happy to answer!
More Posts related to AWS,
- Create S3 bucket and upload files using AWS Toolkit for Visual Studio Code
- Get the total size and number of objects of a AWS S3 bucket and folders
- Create an S3 bucket in a specific AWS region using CLI Command
- [Solution] AWS Java SDK S3 AmazonS3Exception InvalidAccessKeyId
- Fix AWS CLI 2 SignatureDoesNotMatch Error - Signature we calculated does not match
- 573 List of reserved keywords in AWS DynamoDB
- Quick way to setup AWS DynamoDB locally on macOS
- [Solution] com.amazonaws.dynamodb.v20120810 MissingAuthenticationToken Key Id or X.509 certificate
- Quick way to install AWS CLI for macOS Terminal
- Setting and Updating AWS CLI Configuration
- AWS S3 CLI BucketAlreadyExists when calling CreateBucket Error make_bucket failed
- How to install AWS Toolkit for Visual Studio Code
- Create S3 bucket using AWS CLI Command mb
- Fix: zsh: command not found: aws (Mac/macOS)
- How to install AWS CLI on Ubuntu
- Fix: Amazon Linux bash: sudo: command not found
- How to Setup AWS Credentials using Visual Studio Code
- AW3 CLI command to get list of all region names
- Most Essencial AWS CLI 2 S3 ls Command Options
- Install AWS CLI using Brew Command
More Posts:
- MySQL Workbench - Connection Warning - Incompatible/nonstandard server version or connection protocol detected - MySQL
- Android Alert Dialog with Checkboxes example - Android
- How to Exit a Loop in Python Code - Python
- How to install Anaconda on Mac (M1/M2 Mac) - Python
- Bash: Command to Find the Length of a String - Bash
- Python: Print Exception Stack trace like Java - Python
- How choose alternate Tab Bar icon in Notepad++ - NotepadPlusPlus
- Notepad++ Convert text from lower to upper case - NotepadPlusPlus