I agree with Caitlin's post ^ ^ ^. I'd use a new* food container with the appropriate dimensions (many stores have a huge selection of these) & while darkness might seem to be a good thing for the snake, it's unnecessary, plus it's really handy to be able to see thru the foggy container to know if your snake is in there. Use an X-acto knife to cut a doorway in the top. The top is easy to remove for cleaning- that's so important, as some snakes may defecate in the moss, while others will not. And you need to periodically rinse out & refresh the moss. A solid bottom is best for a humid hide, because otherwise the moisture from the very damp moss will soak your substrate instead of staying in the hide. But that hide (the one you asked about), while nice, is not ideal for this, & way overpriced besides- IMO.
*Reason for new food container is first, they're cheap, but mostly- used ones will have tiny surface scratches that can hold bacteria, contamination & food odors- why risk it?