The Iran war isn’t over, threats from abroad grow daily and military stockpiles are running low, yet Democrats — who’ll gain control of Congress on Jan. 3 — nonetheless regard defense funding as a far-too-low priority.

That means Republicans must find a way to pass as much military funding as possible during the lame-duck session.

President Trump has proposed a $1.5 trillion Pentagon budget, which the House has approved; most of that would need bipartisan support to pass, but at least $350 billion, mainly to buy weaponry, could pass with just Republican support via the budget-reconciliation process.

That should be a no-brainer for Senate Majority Leader John Thune (R-SD), who’s expected to decide by Thursday whether Republicans will launch the process immediately in order to finish before the clock runs out.

So get moving: Defending the nation from foreign attack is the federal government’s primary duty.

More From Post Editorial Board

That means maintaining a strong defense — not just to protect Americans on their home soil, but to safeguard US interests abroad and aid allies.

Nothing better deters would-be aggressors from striking than knowing they face an invincible foe, with overwhelming resources.

Get opinions and commentary from our columnists

Subscribe to our daily Post Opinion newsletter!

Thanks for signing up!

Yet maintaining such a military force takes money. And years of political decisions to limit defense funding have produced alarming shortfalls in naval power, ammo and other supplies — especially interceptors.

Get the money settled now, and key shortages can be filled within months; leave defense funding to the Democrats, and the clock could stretch out all through 2027.

America desperately needs to modernize its military — building out its drone and anti-drone capabilities, missile defense and ability to project power; it can’t afford to be losing ground.

If Republicans don’t get the funding settled now, perilous holes in the nation’s defenses will keep widening.