Are you planning on getting a hatchling or adult?
Adults need to go outside at least in summer and a room size enclosure if you get cold winters.
A hatchling can start out in a 2x4 or even a little smaller closed chamber with dry top layer of substrate and will last a couple years of so before it will need a larger space.