If you have been building your immutable infrastructure as code in true agile and devops manner, you might not paid too much attention to AWS Simple Systems Manager (SSM). But the latest feature release of Session Manager for Shell Access to EC2 Instances you should be interested in.
Sometimes you are just too busy to get the work done and don’t have time to understand why things work like they do. Aws -cli option
--output=textwas one those details I never really took time to understood. Sometimes I got my output formated one item per line, sometimes all items were on single line with no apparent reason.