I'm not sure I follow your logic, but one could argue this campaign with drones and cheaper missiles taught Iran it doesn't even need a nuclear deterrent anymore.
Between this and Ukraine, the logic of a nuclear warhead deterrent might be considered a paradigm relic from 20th century.
This is false. If Trump had chosen to nuke Iranian cities, Iran would have had no recourse without a proper nuclear bomb.