torus-tools / stack

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in stack comparisson in deployStack method

gkpty opened this issue · comments

When deploying a new stack, the deploy method compares a stringified version of the template. This is OK for the second step (cloudfront, SSL Cert, extra) but it is not appropriate for the first step.

The first step should get the generated object for the bucket and/or DNS. and see if the existing stack object (JSON) contains the bucket and/or DNS objects. if it does skip step 1.