Skip to content

TaskCat

Paul Duvall edited this page Nov 26, 2019 · 4 revisions

TaskCat

Install

pip3 install taskcat --user

Configure directories and files in the root GitHub repo

Create a templates directory. Put the CloudFormation templates in this directory.

Create a .taskcat.yml file and place it in the root directory for the repository. Here's an example:

project:
  name: <<ProjectName>>
  regions:
    - us-east-1
    - us-east-2
    - us-west-1
    - us-west-2
tests:
  taskcat-workload:
    template: ./my-project/templates/workload.yml
  taskcat-ebs:
    parameters:
      AvailabilityZones: $[taskcat_genaz_1]
    template: ./my-project/templates/ebs.yml

Run

Run TaskCat:

taskcat test run

Resources

Clone this wiki locally