Problem : Error on file 'template.yaml' unknown tag !<!Ref> at line 25, column 46:
... nment: !Equals [!Ref Environment, dev]
^
Compile : template.inc.yaml
Facing the same problem with !GetAtt in sam:
Problem : Error on file '././components/xyz.yml' unknown tag !<!GetAtt> at line 24, column 48:
... ue: !GetAtt QueueAbc.Arn
Analize : template.yaml