Skip to content

Commit

Permalink
add support for G.4X and G.8X in glue_job.py (#2048) (#2060)
Browse files Browse the repository at this point in the history
[PR #2048/a397c4c3 backport][stable-7] add support for G.4X and G.8X in glue_job.py

This is a backport of PR #2048 as merged into main (a397c4c).
SUMMARY
according to https://aws.amazon.com/about-aws/whats-new/2023/05/aws-glue-large-instance-types-generally-available/ I added support for these 2 new instance types
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
glue_job

Reviewed-by: Alina Buzachis
Reviewed-by: Mark Chappell
  • Loading branch information
patchback[bot] authored Mar 25, 2024
1 parent 9e892b0 commit 1c4a249
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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).
5 changes: 3 additions & 2 deletions plugins/modules/glue_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 1c4a249

Please sign in to comment.