Simple create/delete functions for managing CloudFormation templates while testing with tape
Wraps ansychronous create / delete calls in tape test functions so that you can execute them before and after your own tests easily.
var test = ;var cfnTest = 'my-test-project' 'us-east-1';var myCfnTemplate = ;var parameters =SomeParameter: 'someValue';cfnTeststartmyCfnTemplate parameters;;cfnTest;
var cfnTest = require('cfn-test')(projectName, region)
cfnTest object by providing an arbitrary name for your project and the region to run the stack in.
Returns the name of your test stack.
After starting your stack,
description will provide the output from performing a
DescribeStacks operation on your test stack.
Shuts down your test stack.