@ld0 had great simple fix for better output.
Just need to add below code here:
if [ -n $user_data ]; then echo "[---Begin installing custom user_data ---]" ${user_data} echo "[---Installing custom user_data complete---]" fi