Iran did this for a reason. And the reason was not to cause damage. It was a test. Iran wanted to test how Israel would respond to an attack. Israel did respond. They responded with overwhelming force as they should. Not only did they knock out the launch site, they hit everything Iran had in Syria all at once.
The next time Iran thinks about lobbing a few missiles into Israel to 'see what will happen'. They will think twice about that irrational idea. Iran may be playing games, but Israel is deathly serious about what it does.
Iran needs to understand that Imam Hussein is no longer President. They no longer have a cheerleader in the White House to give them a free hand to do whatever they want to do. Maybe they got the message. Maybe not. We shall see.