我试图在我的 CI/CD 开发中包含script_location并且仅包含此参数的更新。AWS 要求我包含必需的参数,例如RoleArn. 如何只更新我想要更改的作业配置部分?
这就是我正在尝试使用的
aws glue update-job --job-name <job_name> --job-update Command="{ScriptLocation=s3://<s3_path_to_script>}
Run Code Online (Sandbox Code Playgroud)
这就是发生的事情:
An error occurred (InvalidInputException) when calling the UpdateJob operation: Command name should not be null or empty.
如果我添加默认命令名称glueetl,则会发生以下情况:
An error occurred (InvalidInputException) when calling the UpdateJob operation: Role should not be null or empty.