Run Crawler using custom resource Lambda

左心房为你撑大大i 提交于 2021-01-07 16:25:23

问题


I am trying to create and invoke an AWS Glue crawler using cloud formation. The creation part of the crawler(dynamo DB as target) is in lambda function.

how can I achieve all this using cloud formation? i.e creation of lambda function from cod present in s3 , After lambda function is created, it should get triggered to create crawler and then crawler should be invoked to create targted tables. I want all of this is cloud formation.

link for reference: Is it possible to trigger a lambda on creation from CloudFormation template


回答1:


You should write cloudformation to deploy crawler. And then in your ci/cd, write shell/python script to run crawler after it is deployed through cloudformation.



来源:https://stackoverflow.com/questions/57967989/run-crawler-using-custom-resource-lambda

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!