Fix for #6365: cloudformation module fails to update if stack exists