 
       else
         setToGroup 'addAndWarn'
-
 
       @cancelButton.setTitle 'Close'
 

    templateDetails = null

    # TODO Make this to support multiple credentials
    credData      = @credentialStatusView.credentialsData
    awsIdentifier = credData.first.identifier
    credentials   =
      aws         : [ awsIdentifier ]

    # Add Custom Variables if exists
    if variablesCredential = @variablesView._activeCredential


    template   = templateContent
    currentSum = stackTemplate?.template?.sum

    updateStackTemplate {
      template, description, templateDetails
