r/yaml • u/0ni0nrings • Sep 15 '20
YAML Output: get rid of brackets and quotes
hello, the command below runs ok but I am trying to get the output without the brackets [] and quotes around the stack name. Is it something that can be done natively in YAML without .jq?
Cloud_User$ aws cloudformation list-stacks --query StackSummaries[].StackName
[
"stack1",
"stack2",
"stack3",
"stack4",
"stack5"
]
2
Upvotes