There is a serverless.yaml
file which contains line like that:
VpcId: !Ref MyVpc
Yaml files are validated by check-yaml
git
hook which invoked by pre-commit
command. So the pre-commit run --all-files
run is failed with error:
could not determine a constructor for the tag '!Ref'
in "serverless.yml", line 172, column 29
Is there a way to configure check-yaml
to skip this error?