Yeast infection

Has anyone been prescribed terconazole while pregnant for a yeast infection? I’m 25 weeks and have a low lying placenta and was told not to have anything up the vagina. I looked into the medicine and I’m nervous to use it because some say it isn’t safe 🤦🏻‍♀️