Applying for a new job while pregnant

So I'm 9 weeks pregnant and my husband is in the military. We live in a town that doesnt have many job opportunities for my career field (medical laboratory science) recently one came up in the area that is a supervisory position with awesome hours...would it be dishonest to apply knowing I'll be on maternity leave in 7 months?