taskcat icon indicating copy to clipboard operation
taskcat copied to clipboard

Blogs referencing Taskcat are out-of-date and no longer work.

Open jtanton opened this issue 5 years ago • 1 comments

Describe the bug While trying to follow these AWS blogs I noticed the latest product no longer works as described in the blog. Please work to get these updated. https://aws.amazon.com/blogs/infrastructure-and-automation/a-deep-dive-into-testing-with-taskcat/ https://aws.amazon.com/blogs/infrastructure-and-automation/up-your-aws-cloudformation-testing-game-using-taskcat/

To Reproduce Steps to reproduce the behavior:

  1. Are you testing a QuickStart or Custom template? Custom template
  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) pip3
  5. Are you using a profile, an instance role or access keys to run taskcat? an instance role with codebuild
  6. Is your AWS environment configured via aws configure?

Expected behavior A clear and concise description of what you expected to happen.

Following description in blog to setup my environment, I get warnings like this one. Additional usage warnings about override format. [WARN ] : overrides file /codebuild/output/src381366628/src/ci/taskcat_project_override.json is in legacy format, support for this format will be deprecated in a future version. [WARN ] : Converting overrides to new format and saving in /codebuild/output/src381366628/src/.taskcat_overrides.yml

-OR- Running the other command line example: taskcat -c test-project/ci/taskcat.yml Results in this response: usage: taskcat [args] [args] [subcommand] [args] taskcat: error: argument : invalid choice: '.taskcat.yml' (choose from 'delete', 'deploy', 'lint', 'list', 'package', 'test', 'update-ami', 'upload')

Screenshots If applicable, add screenshots to help explain your problem.

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

  • version 0.9.23

Note: Python Version (python3 required) Python 3.9.6

To find versions: Via taskcat: taskcat -V Via pip3: pip3 show taskcat

pip3 show taskcat Name: taskcat Version: 0.9.23 Summary: An OpenSource Cloudformation Deployment Framework Home-page: https://aws-quickstart.github.io/taskcat/ Author: Tony Vattathil, Jay McConnell, Andrew Glenn, Santiago Cardenas, Shivansh Singh Author-email: [email protected], [email protected], [email protected], [email protected] License: Apache License 2.0 Location: /home/jtanton/.local/lib/python3.8/site-packages Requires: setuptools, cfn-lint, requests, docker, dataclasses-jsonschema, dulwich, boto3, PyYAML, jinja2, jsonschema, reprint, pip, mock, yattag, botocore, tabulate Required-by:

Note: both version should match

To update taskcat run: for docker : docker pull taskcat/taskcat for pip3: pip3 install --upgrade taskcat

Additional context Add any other context about the problem here.

jtanton avatar Sep 09 '21 00:09 jtanton

Hi @jtanton, thanks for reaching out and reporting the issue about the outdated blog post. The blog post you referenced is a bit old and since then, the TaskCat has gone through some significant updates and feature adds. We are working on an updated blog post, however, in the mean time you can refer to the taskcat documentation on github.

sshvans avatar Sep 13 '21 16:09 sshvans