Resource constraints expects an object