amazon-connect / amazon-connect-salesforce-lambda

Apache License 2.0
45 stars 34 forks source link

[BUG] execution role does not have permissions to call CreateNetworkInterface #29

Closed AlexD1979 closed 3 years ago

AlexD1979 commented 3 years ago

Hello, 4 weeks ago, we deploy this https://github.com/amazon-connect/amazon-connect-salesforce-lambda Solution to an AWS Account and in region us-east-1 without any issues. Today, we need to re-deploy the same function again, but with a different Salesforce system. We delete the whole Cloudformation Stack and the Lambda Package. We re-execute the script, but the Cloudformation throws now: Resource handler returned message: "The provided execution role does not have permissions to call CreateNetworkInterface on EC2 (Service: Lambda, Status Code: 400, Request ID: b8d705e6-af89-464c-bc64-ec1e956254c9, Extended Request ID: null)" (RequestToken: 457b169c-3690-b98b-1cba-7114d3a0f94b, HandlerErrorCode: InvalidRequest)

I can see, there is a new version released 5.15, possible there is a bug?

yiming-amzn commented 3 years ago

Yes looks like a bug to me. Working on fixing it!

yiming-amzn commented 3 years ago

Fix released in v5.15.3. Please let me know if there is any issues. Thanks for reporting the bug!