docs: def ls(ctx, name, list_formatted):
      """List EC2 instances"""
      session = create_session(ctx.obj['AWS_PROFILE_NAME'])
      ec2 = session.resource('ec2')
      if name == '*':
          instances = ec2.instances.filter()
      else:
          condition = {'Name': 'tag:Name', 'Values': [name]}
          instances = ec2.instances.filter(Filters=[condition])
      out = format_output(instances, list_formatted)
      click.echo('\n'.join(out))