I’m still not sure why it was crashing or how to troubleshoot (which is concerning), but I got it working with help from this post: MQTT from AWS IoT - Telegraf - InfluxData Community Forums. I set the server url to ssl://… and it connected.
Does anyone know how to stop the service from crashing when it can’t connect?