Per AWS Glue version support policy, Glue jobs using specific versions are going to be deprecated. This command line utility helps you to identify the target Glue jobs which will be deprecated.
You can run this shell script in any location where you have Bash and the following environment.
- Configure default region. See details: Configuring the AWS CLI
- Install AWS CLI
$ ./check_jobs.sh [ -r COMMA_SEPARATED_REGION_NAMES ] [ -p PROFILE_NAME ]
- Glue jobs in all regions are listed if the option
-r
is not specified.
$ ./check_jobs.sh
$ ./check_jobs.sh -r us-east-1,us-west-2
$ ./check_jobs.sh -r us-west-2 -p test_profile
Following Glue jobs are going to be deprecated as per AWS Glue's version support policy.
Region: us-west-2
[End of Support: 2022/6/1] Spark | Glue 0.9
----------------------------------------------------------------------------------------------------------
| GetJobs |
+-------------+--------------+------------------------------------------+--------------+-----------------+
| GlueVersion | JobLanguage | JobName | JobType | PythonVersion |
+-------------+--------------+------------------------------------------+--------------+-----------------+
| 0.9 | python | sample_spark_job | glueetl | 2 |
+-------------+--------------+------------------------------------------+--------------+-----------------+
...
[End of Support: 2022/6/1] Python shell | Glue 1.0 (Python 2)
----------------------------------------------------------------------------------------------------------
| GetJobs |
+-------------+--------------+------------------------------------------+--------------+-----------------+
| GlueVersion | JobLanguage | JobName | JobType | PythonVersion |
+-------------+--------------+------------------------------------------+--------------+-----------------+
| 1.0 | None | sample_pythonshell | pythonshell | 2 |
+-------------+--------------+------------------------------------------+--------------+-----------------+
...