aws-ia / taskcat

Test all the CloudFormation things! (with TaskCat)
https://aws-ia.github.io/taskcat/
Apache License 2.0
1.17k stars 213 forks source link

TaskCat Config Generator #820

Closed tbulding closed 5 months ago

tbulding commented 7 months ago

Overview

This change adds the ability to generate the .taskcat.yml config file based on a CloudFormation template. The tool can generate the configuration file with verbose information (-v) about the parameters.(This information is taken from the CFN) The tool also offers the option to generate a .taskcat_overrides.yml file (-c). The tool attempts to populate empty values based on the parameter name.

Testing/Steps taken to ensure quality

How did you validate the changes in this PR? I ran the tool against a 15 different Quick Start projects.

Notes

Optional. Caveats, Alternatives, Other relevant information.

Testing Instructions

To test this PR you will need to install Taskcat From the Originating fork. Clone the Forked repo, and from the root of the repo run: python setup.py install Once taskcat is installed you can run it against an existing template with:

taskcat generate-tc-config -m templates/your_template.template.yaml -c