President Donald Trump could decide to shut down parts of the government in the coming days as he pushes for money to build his proposed border wall.

The House is expected to pass a bill as early as Wednesday that would fund the Pentagon and a few other agencies for a year, combined with a stopgap measure to sustain the rest of the government for a short time. It would not, however, fund Trump's proposed barrier on the U.S.-Mexico border. The lack of cash for the project has frustrated Trump, who last week called the bill "ridiculous" and urged Republicans to "GET TOUGH!"

Trump tweet

Since the Senate already approved the legislation, only the president's veto would stop it from becoming law if it gets through the House. Trump has waffled on the idea of shutting down the government in recent weeks. House Speaker Paul Ryan said Wednesday that the president told him he would sign the spending bill.

Government funding expires at 12:01 a.m. ET Monday.

Earlier this month, Trump said "I would do it because I think it's a great political issue." GOP lawmakers worry about a shutdown hurting Republican candidates less than six weeks before November's midterm elections. Senate Majority Leader Mitch McConnell and Ryan oppose letting funding lapse and want to address border wall funding after the midterms.

"There are a lot of politicians that I like and respect and are with me all the way that would rather not do it because they have races, they're doing well, they're up," the president said on Sept. 7. "The way they look at it, might be good, might be bad."