[英]Is there a way to create aws lambda execution role with cloudformation?
[英]Is there a way to get AWS Lambda's Execution Results in Airflow?
我正在使用 airflow 调用 lambda function 使用 lambda 挂钩。 我一直试图在airflow中取回lambda的执行结果,但无法如愿。 在检查 airflow 日志时,我可以看到:
{{python.py:152}} 信息-完成。 返回值为:无
谁能帮我解决这个问题?
我试过使用 airflow xcoms,但这也行不通。
尝试自定义 lambda 运算符,它可以从 CloudWatch 获取日志: https://cevo.com.au/post/revisit-airflow-lambda-operator/
我建议将start_time = 0
更改为start_time = int(time.time() * 1000)
。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.