Using terraform, I've created an IoT hub and a Stream analytics job.
The input verifies correctly, the IoT hub shows data coming in.
However when I select Query to test my streaming job, it always says there is no data available in the input.
When I manually created everything via the UI, it was working. So I am confident the JSON payload is correct and the device is registered correctly.
What am I missing ?