Understanding Aws Cli Output Text
Modified: May 16, 2022
Published: November 12, 2021
Tags:
–output=text will print everything within innermost [] brackets on single line..
To see it in action see the difference between
|
|
vs
|
|
For nested list object, instead of [*]
use [0]
(individual item) for single line output. Like here for CacheClusters[].CacheNodes
To see it in action see the difference between
|
|
vs
|
|
It will help me to improve/learn.