I'm surprised Ukraine didn't consider this tactic pre-emptively against Russia, considering they handed back their nukes.
Instead of a minefield, place gas pipelines around bridges and chokepoints that could accidentally suffer "maintenance failure" and explode in case of invasion.
I'm probably being too simplistic about this, I suppose it would just give Russia an excuse to crush Ukraine using force.