小编Ben*_*ard的帖子

是否可以使用 AWS CLI 仅更新 Glue 作业的一部分?

我试图在我的 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.

aws-cli aws-glue

4
推荐指数
1
解决办法
7127
查看次数

标签 统计

aws-cli ×1

aws-glue ×1