update recipe to use attribute for volume size and tyoe