Fixes CHEF-3694 warning re-using resource attributes