aws / aws-cli

Universal Command Line Interface for Amazon Web Services
Other
15.09k stars 4.01k forks source link

aws cli glue #8724

Closed daviddhc20120601 closed 3 weeks ago

daviddhc20120601 commented 3 weeks ago

Describe the bug

when i use cli to create aws glue notebook with job mode flag, things doest work image

Expected Behavior

create success

Current Behavior

image

Reproduction Steps

use the above variables to create a new glue etl job

aws glue create-job --name $new_glue_etl_job_name \ --job-mode notebook \ --role $glue_etl_job_role \ --command file://temp_glue_etl_job_command.json \ --connections file://temp_glue_etl_job_connections.json \ --default-arguments file://temp_glue_etl_job_default_arguments.json \ --number-of-workers $glue_etl_job_number_of_workers \ --security-configuration $glue_etl_job_security_configuration \ --timeout $glue_etl_job_timeout \ --worker-type $glue_etl_job_worker_type

Possible Solution

No response

Additional Information/Context

No response

CLI version used

aws --version aws-cli/2.15.59 Python/3.11.8 Linux/6.1.90-99.173.amzn2023.x86_64 exec-env/CloudShell exe/x86_64.amzn.2023

Environment details (OS name and version, etc.)

cloud shell

tim-finnigan commented 3 weeks ago

Hi @daviddhc20120601 thanks for reaching out. Per the CHANGELOG, it looks like support for --job-mode was added in version 2.15.60. Please update to that version or above in order to access that parameter.

github-actions[bot] commented 3 weeks ago

This issue is now closed. Comments on closed issues are hard for our team to see. If you need more assistance, please open a new issue that references this one.