Transform: AWS::Serverless-2016-10-31
Resources:
  Function:
    Type: AWS::Serverless::Function
    Properties:
      Handler: index.handler
      Runtime: nodejs8.10
      MemorySize: 256
      CodeUri: ./func
      Timeout: 60
      AutoPublishAlias: live

Transform: AWS::Serverless-2016-10-31
Resources:
  Function:
    Type: AWS::Serverless::Function
    Properties:
      Handler: index.handler
      Runtime: nodejs12.x
      MemorySize: 256
      CodeUri: ./func
      Timeout: 60
      AutoPublishAlias: live

Update Lambda runtime in sample YML for E2E tests
Update Lambda runtime in sample YML for E2E tests