set resource requirements