Iran conducted another ballistic missile test that apparently violated a UN resolution, Fox News reported on Monday.

The missile was launched at a test site outside Semnan, about 140 miles east of the capital of Tehran, on Sunday.

The Khorramshahr medium-range missile flew about 600 miles before exploding in what was called a failed test of a re-entry vehicle, US officials said.

Iranian defense minister Brig. Gen. Hossein Dehqan had revealed in September that Iran would start production of the missile, the network reported.

UN resolution 2231 — enacted days after the international Iranian nuclear deal was signed — instructs the Islamic Republic not to conduct such tests.

The resolution bans Iran from conducting ballistic missile tests for eight years starting July 20, 2015.

But it’s the country’s second such test since July.

Iran was “called upon not to undertake any activity related to ballistic missiles designed to be capable of delivering nuclear weapons, including launches using such ballistic missile technology,” according to the text of the resolution.

The landmark nuclear deal between Iran and world powers, however, does not include provisions preventing Iran from conducting ballistic missile tests, and Iran says the tests are legal because the missiles are not designed to carry a nuclear warhead.

The US intelligence community spotted Sunday’s launch with the aid of its satellite network, which can detect missile launches and explosions from around the world.