resource lookup should also search against resource_name