Create a template from a deployed stack