reduce mehtod compexity of attach_ebs_volume