diff --git a/changelogs/fragments/2048-add-new-instance-types-in-gluejob.yaml b/changelogs/fragments/2048-add-new-instance-types-in-gluejob.yaml new file mode 100644 index 00000000000..49119a5da37 --- /dev/null +++ b/changelogs/fragments/2048-add-new-instance-types-in-gluejob.yaml @@ -0,0 +1,2 @@ +minor_changes: + - glue_job - add support for 2 new instance types which are G.4X and G.8X (https://github.com/ansible-collections/community.aws/pull/2048). diff --git a/plugins/modules/glue_job.py b/plugins/modules/glue_job.py index 2567799757e..10ad102e340 100644 --- a/plugins/modules/glue_job.py +++ b/plugins/modules/glue_job.py @@ -95,7 +95,8 @@ worker_type: description: - The type of predefined worker that is allocated when a job runs. - choices: [ 'Standard', 'G.1X', 'G.2X' ] + - Support for instance types C(G.4X( and C(G.8X) was added in community.aws release 7.2.0. + choices: [ 'Standard', 'G.1X', 'G.2X', 'G.4X', 'G.8X' ] type: str version_added: 1.5.0 notes: @@ -465,7 +466,7 @@ def main(): state=dict(required=True, choices=["present", "absent"], type="str"), tags=dict(type="dict", aliases=["resource_tags"]), timeout=dict(type="int"), - worker_type=dict(choices=["Standard", "G.1X", "G.2X"], type="str"), + worker_type=dict(choices=["Standard", "G.1X", "G.2X", "G.4X", "G.8X"], type="str"), ) module = AnsibleAWSModule(