[cfn-lint] E1019: {'Fn::Sub': 'arn:aws:cloudformation:${AWS::Region}:aws:transform/Serverless-2016-10-31'} does not match '^(arn:(aws|aws-cn|aws-us-gov):[^:]+:[^:]*:(?:\\d{12}|\\*)?:.+|\\*)$' when 'Fn::Sub' is resolved
Expected behavior
No errors. When the value is substituted by the AWS Region the result ARN is valid.
CloudFormation Lint Version
1.3.0
What operating system are you using?
Ubuntu
Describe the bug
[cfn-lint] E1019: {'Fn::Sub': 'arn:aws:cloudformation:${AWS::Region}:aws:transform/Serverless-2016-10-31'} does not match '^(arn:(aws|aws-cn|aws-us-gov):[^:]+:[^:]*:(?:\\d{12}|\\*)?:.+|\\*)$' when 'Fn::Sub' is resolved
Expected behavior
No errors. When the value is substituted by the AWS Region the result ARN is valid.
Reproduction template