My bad!
I was trying to create the input and output pointing at another existing SAJ resource .
the error was here:
stream_analytics_job_name = azurerm_stream_analytics_job.saj_json.name
should have been
stream_analytics_job_name = azurerm_stream_analytics_job.saj.name
Though, weird error from the Azure API :-)