I need to audit a large number of AWS accounts to determine which EC2 instances are missing the SSM agent. Then I need have all those instances and their tags outputted.
Running aws ssm describe-instance-information
lists all the instances that have the agent installed and are running, but it doesn't list instances that are missing the agent or systems that might be turned off.