Template error: instance of Fn::GetAtt references undefined resource TesseractOCRLogGroup

Getting a strange error when trying to deploy-
The CloudFormation template is invalid: Template error: instance of Fn::GetAtt references undefined resource TesseractOCRLogGroup

The same yml deployed successfully two days ago. here’s a snippet

...
provider:
  name: aws
  runtime: python3.7
  versionFunctions: false
  environment:
    SLS_DEBUG: "*"
...
functions:
  TesseractOCR:
    handler: TesseractOCR.lambda_handler
...