Flu shot during pregnancy

Gi
Is the flu shot really safe during pregnancy?