added validation of resource types from configuration