moved resources configuration to instance level