terraform: deepcopy should not alloc when nil
terraform: Refresh handles tainted instances