Skip to content

Commit

Permalink
aws cli defaults on json
Browse files Browse the repository at this point in the history
aws cli is using json as output so it doesn't freak out when the user has any other output.
  • Loading branch information
mariusv committed Dec 9, 2015
1 parent b545687 commit 4599463
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssh2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ if options.bust_cache or not os.path.exists(cache_file_list) \
print "Fetching servers..."
if os.path.exists(cache_file_num):
os.remove(cache_file_num)
aws_cmd = 'aws ec2 describe-instances'
aws_cmd = 'aws ec2 describe-instances --output json'
if options.profile:
aws_cmd += ' --profile ' + options.profile

Expand Down

0 comments on commit 4599463

Please sign in to comment.