Nouns ending in -tion are feminine, but le bastion is masculine.
Bastion is one of the rare exceptions: learn it as it is.
FrenchTextbook teaches rules like this, in a full beginner course.
162 lessons, 4,000+ exercises, and 6+ hours of audio.
Try the first lesson free