1

How can we expand a row if a field got multiple values from the query results. Eg . Subnets in the below command go in a long line with comma separated, I would like to get them on the next line by expanding the row.

aws ec2 describe-route-tables --query 'RouteTables[*].[[VpcId] | join(`, `, @), Tags[].Value | join(`, `, @), Associations[].SubnetId | join(`, `, to_array(to_string(@)))] ' --output table
John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
jvG
  • 403
  • 4
  • 6
  • 14

0 Answers0