dimkir / nightmare-lambda-tutorial

Sample project and tutorial to run NightmareJS on AWS Lambda
75 stars 9 forks source link

Add ability to resume from different step in `lambda-install-aws.sh` #1

Open dimkir opened 7 years ago

dimkir commented 7 years ago

This may happen that in case you have not assumed correct AWS permissions that lambda funciton installation may fail somewhere in the middle. Ability to resume from 2nd or 3rd step is extermely useful:

In the example below, I managed to go through the first step (role creation) but choked on the seocnd one - Policy creation. Now my only option is to change name of the function and start over. Would be great to have ability ./lambda-install-aws.sh --resume-from create-policy

image