How to run the serverless deploy in CI/CD command when it needs MFA code

We have 2-factor authentication set up in the AWS account. sls deploy command thus asks for the MFA code. How to run the deployment in non-interactive mode when MFA is enabled?

For ex:

lerna run

command does not support user input. Similarly, if this was to run in CI/CD, interactivity won’t be possible. How is this handled. What’s the best way to manage this in serverless framework with sls deploy command?