Enable AWS X-RAY for Lambda functions by default

I enabled AWS X-RAY for my Lambda functions after I redeployed those functions AWS X-RAY was disabled. Is there any way to configure the Jets to enable AWS X-RAY during deployment?

Thanks in advance.