aws-samples / startup-kit-templates

CloudFormation templates to accelerate getting started on AWS.
Apache License 2.0
815 stars 400 forks source link

Test framework ( TaskCat ) is a must to comply with SDLC #34

Open abdennour opened 6 years ago

abdennour commented 6 years ago

Since the infrastructure becomes a code (software), any code should be testable according to SDLC.

Then, we need to automate testing on the CloudFormation templates used in this repository.

Currently, I can suggest the following:

1. Syntax Validity

aws cloudformation validate-template is designed to check the syntax of the template, but it does not check that the values being passed on to properties are valid.

2. Operational Validity

TaskCat automates the testing of templates in multiple regions because, currently, the only method to check the operational validity of a template is to attempt to create a stack.. This is the same tool used internally by AWS teams to test the AWS Quick Start templates.

Whenever I have time, I should contribute in this great repository.