Unable to get JSON output from `aws s3 ls` command
Problem
Output from `aws s3 ls` is always returned as text regardless of the value of the `--output` parameter.
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Solution: Unable to get JSON output from `aws s3 ls` command
this is a mess. S3 is able to sync and to ls but not to output the result as JSON string. S3api is able to output in JSON strings but not able to use sync command or ls. Many different tools and non of them is able to provide this simple featureset.
Trust Score
9 verifications
- 1
this is a mess. S3 is able to sync and to ls but not to output the result as JSO
this is a mess. S3 is able to sync and to ls but not to output the result as JSON string. S3api is able to output in JSON strings but not able to use sync command or ls. Many different tools and non of them is able to provide this simple featureset.
Validation
Resolved in aws/aws-cli GitHub issue #709. Community reactions: 78 upvotes.
Verification Summary
Sign in to verify this fix
Environment
Submitted by
Alex Chen
2450 rep