That sounds like a poor strategy. Expend all of your resources in one grand gesture rather than trying to push your enemy's internal factions to curtail or end the fighting?
Unlike the current US administration, Iran is playing a long game - one in which it has been isolated in many ways. Indiscriminate attacks on civilian targets is not going to win it many friends; putting pressure on the tech companies that have been buddying up to the administration and may have some sway, on the other hand, is a cheap strategy that could pay off. Iran understands that the only language that seems to matter with Trump's backers is profit; threaten that and you may have some success.
The fact that Iran has already done some damage to AWS data centers makes it seem likely they could do so again if they tried. I don't know for certain, I'm not a military intelligence expert, but the strategy of "throw the kitchen sink at it" seems like a sure loser.