taskcat icon indicating copy to clipboard operation
taskcat copied to clipboard

taskcat test run -i TestTemplate.yaml -> ConstructorError could not determine a constructor for the tag '!Ref'

Open tekdj7 opened this issue 4 years ago • 0 comments

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 run with only the TestTemplate.yaml file in same folder, runs perfectly fine.
  • However, I'm trying to get this to work with the -i argument, so I can have different templates to use with same taskcat file.

To Reproduce Steps to reproduce the behavior:

  1. Are you testing a QuickStart or Custom template? No
  2. Attach or link a copy of the template if possible (remove any sensitive info)
  3. Provide the parameters that you passed. (remove any sensitive info)
  4. How did you install taskcat? (docker or pip3) pipx
  5. Are you using a profile, an instance role or access keys to run taskcat? profile
  6. Is your AWS environment configured via aws configure? yes

Expected behavior

  • I was expecting that it would run taskcat against the YAML provided via -i without errors, just as it runs properly using same YAML when I don't use the -i argument.

**Version (Please make sure you are running the latest version of taskcat)

  • Taskcat Version: 0.9.23
  • Python3 Version: 3.8.7

tekdj7 avatar May 14 '21 05:05 tekdj7