Call aws-cli from AWS Lambda

前端 未结 5 1970
我寻月下人不归
我寻月下人不归 2020-12-02 20:03

is there ANY way to execute aws-cli inside AWS Lambda? It doesn\'t seem to be pre-installed. (I\'ve checked with \"which aws\" via Node.js child-process, and it didn\'t exis

5条回答
  •  借酒劲吻你
    2020-12-02 20:22

    I think that you should separate your trigger logic from the action. Put a container with aws cli on another ec2 And use aws lambda to trigger that into an action.

提交回复
热议问题