You have to mention connection name in glue connection configuration in job details section. After that it will work