torus-tools / stack

Deploy static websites to the AWS Cloud using a single command.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Automatic resource imports

gkpty opened this issue · comments

The genreateTemplate function should return a cloudformation template and a resourceToImport array

The deployTemplate function should recieve a resources to import array, if the array is not empty, it should generate an import stack only for the resources to import by looping through the resourcesToImport array and generating a new object from the generated cloudformation template.

the call a stack import operation for the resourcesToImport stack

after this is complete call the main operation.