Ezra for girl?

My hubby and I are trying for a baby currently and we want to make our first baby Ezra. We were told it’s a boy name and should pick a different name if we have a girl. What do you guys think?