fix(engine): add deploymentId to resource mapping

related to #CAM-2132