【发布时间】:2021-08-13 03:29:10
【问题描述】:
我正在尝试使用 Cloudformation 包来包含胶水脚本和来自 repo 的额外 python 文件,以便在包步骤期间上传到 s3。
对于胶水脚本,我可以在哪里使用很简单
Properties:
Command:
Name: pythonshell #glueetl -spark # pythonshell -python shell...
PythonVersion: 3
ScriptLocation: "../glue/test.py"
但是我怎样才能对额外的 python 文件做同样的事情呢?以下不起作用,似乎我可以使用 Include Transform 上传文件但不确定如何在 extra-py-files 中引用它?
DefaultArguments:
"--extra-py-files":
- "../glue/test2.py"
【问题讨论】:
标签: amazon-web-services amazon-cloudformation aws-glue