-
Notifications
You must be signed in to change notification settings - Fork 403
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Python and Glue version parameters, add check mode (#480)
Add Python and Glue version parameters, add check mode SUMMARY Add parameters for Python version and Glue version. Available Python and Glue version can be found here: https://docs.aws.amazon.com/glue/latest/dg/add-job.html ISSUE TYPE Feature Pull Request COMPONENT NAME aws_glue_job ADDITIONAL INFORMATION Example: community.aws.aws_glue_job: - name: my-job description: My test job command_script_location: my-s3-bucket/script.py command_python_version: 3 glue_version: "2.0" role: MyGlueJobRole state: present Reviewed-by: Mark Chappell <None> Reviewed-by: Ivan Chekaldin <None> Reviewed-by: Jill R <None> Reviewed-by: Alina Buzachis <None> Reviewed-by: None <None>
- Loading branch information
1 parent
472776e
commit 560169b
Showing
5 changed files
with
443 additions
and
30 deletions.
There are no files selected for viewing
5 changes: 5 additions & 0 deletions
5
changelogs/fragments/480-aws_glue_job-python-glue-version.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
minor_changes: | ||
- aws_glue_job - Added ``glue_version`` parameter (https://github.com/ansible-collections/community.aws/pull/480). | ||
- aws_glue_job - Added ``command_python_version`` parameter (https://github.com/ansible-collections/community.aws/pull/480). | ||
- aws_glue_job - Added support for check mode (https://github.com/ansible-collections/community.aws/pull/480). | ||
- aws_glue_job - Added support for tags (https://github.com/ansible-collections/community.aws/pull/480). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cloud/aws |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
glue_job_name: "{{ resource_prefix }}" | ||
glue_job_description: Test job | ||
glue_job_command_script_location: "s3://test-s3-bucket-glue/job.py" | ||
glue_job_temp_dir: "s3://test-s3-bucket-glue/temp/" | ||
# IAM role names have to be less than 64 characters | ||
# The 8 digit identifier at the end of resource_prefix helps determine during | ||
# which test something was created and allows tests to be run in parallel | ||
# Shippable resource_prefixes are in the format shippable-123456-123, so in those cases | ||
# we need both sets of digits to keep the resource name unique | ||
unique_id: "{{ resource_prefix | regex_search('(\\d+-?)(\\d+)$') }}" | ||
glue_job_role_name: "ansible-test-{{ unique_id }}-glue-job" |
Oops, something went wrong.