lambda-letsencrypt icon indicating copy to clipboard operation
lambda-letsencrypt copied to clipboard

Fails during Configuring Lambda Function

Open derchrisuk opened this issue 8 years ago • 1 comments

I tried to give it a go on a S3 static website. Running the Wizard, it fails at Configuring Lambda Function

Uploading Function An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: The role defined for the function cannot be assumed by Lambda.

The steps before seem to be ok:

Making Requested Changes Creating SNS Topic for Notifications ✓ Role doesn't exist, attempting to create Creating Role 'lambda-letsencrypt-test-role' Role Created Role policy doesn't exist, attempting to create Writing Configuration File ✓ Creating Zip File To Upload To Lambda Adding 'lambda_function.py' Adding 'simple_acme.py' Adding 'config.py' Zip File Created Successfully`

Any idea what could be wrong here?

derchrisuk avatar Jul 19 '17 21:07 derchrisuk

Hi @derchrisuk I had this issue. I read somewhere that its just because you need to leave a few seconds before trying to access lamda with a newly created role. If you run it again it should be fine.

k0nG avatar Jul 26 '17 15:07 k0nG