Set resource requirement in "resources" instead of "providers" definition