taskcat
taskcat copied to clipboard
taskcat test run -i TestTemplate.yaml -> ConstructorError could not determine a constructor for the tag '!Ref'
Describe the bug
Ran taskcat test run -i TestTemplate.yaml. I get [Error] : ConstructorError could not determine a constructor for the tag '!Ref'
- Although
taskcat test runwith only theTestTemplate.yamlfile in same folder, runs perfectly fine. - However, I'm trying to get this to work with the
-iargument, so I can have different templates to use with same taskcat file.
To Reproduce Steps to reproduce the behavior:
- Are you testing a QuickStart or Custom template?
No - Attach or link a copy of the template if possible (remove any sensitive info)
- Provide the parameters that you passed. (remove any sensitive info)
- How did you install taskcat? (docker or pip3)
pipx - Are you using a profile, an instance role or access keys to run taskcat?
profile - Is your AWS environment configured via
aws configure?yes
Expected behavior
- I was expecting that it would run taskcat against the YAML provided via
-iwithout errors, just as it runs properly using same YAML when I don't use the-iargument.
**Version (Please make sure you are running the latest version of taskcat)
- Taskcat Version:
0.9.23 - Python3 Version:
3.8.7