PARALLAX

glue_job

Manage an AWS Glue job

Collection: community.aws

Full Name: community.aws.glue_job

Synopsis

Manage an AWS Glue job

Parameters

NameTypeRequiredDefaultDescription
access_keystr
allocated_capacityint
aws_ca_bundlepath
aws_configdict
command_namestrglueetl
command_python_versionstr
command_script_locationstr
connectionslist
debug_botocore_endpoint_logsboolfalse
default_argumentsdict
descriptionstr
endpoint_urlstr
glue_versionstr
max_concurrent_runsint
max_retriesint
namestryes
number_of_workersint
profilestr
purge_tagsbooltrue
regionstr
rolestr
secret_keystr
session_tokenstr
statestryes
tagsdict
timeoutint
validate_certsbooltrue
worker_typestr

Example

yaml
# Create an AWS Glue job
- name: Manage an AWS Glue job
  community.aws.glue_job:
    command_script_location: "s3://s3bucket/script.py"
    default_arguments:
        "--extra-py-files": s3://s3bucket/script-package.zip
        "--TempDir": "s3://s3bucket/temp/"
    name: my-glue-job
    role: my-iam-role
    state: present

# Delete an AWS Glue job
- name: Manage an AWS Glue job
  community.aws.glue_job:
    name: my-glue-job
    state: absent
Search
    ↑ ↓ move↵ openesc close