AWSTemplateFormatVersion: '2010-09-09'
Description: "Malformed Fn::Select, index's intrinsic does not resolve to a numeric"
Mappings:
  ListsInAMap:
    Lists1:
      a: []
      b: []
      c: 'sts:AssumeRole'
    Lists2:
      a: 1
      b: ['asd'] 
Resources:
  WebServerRole:
    Type: 'AWS::IAM::Role'
    Properties: 
      AssumeRolePolicyDocument: 
          Statement:
            - Effect: 'Allow'
              Principal:  
                Service: 'ec2.amazonaws.com'
              Action: !Select [ !FindInMap ['ListsInAMap', 'Lists2', 'b'], ['sts:AssumeRole']]
      Path: '/'



