-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VPC discovery errors after upgrading to 5.0.0 #81
Comments
Hi @umulmrum Could you please try the |
@rddimon I'm afraid the same error still occurs. Thanks for your efforts though :-) |
Does it work for you with the From the message error
Place make sure the AWS policy is configured properly for the plugin. |
Got the same Error, did not change anything in my AWS credentials file. After downgrading to for example: 3.1.2 error immediately disappeared. |
Hi @umulmrum @jvollmuller-risk Could you please try |
@rddimon Works, thank you! 🎉 |
Hi,
first of all, thank you for your work on this lib!
In my team we encountered a problem with VPC discovery after upgrading from 4.1.0 to 5.0.0, which led to lambdas no longer being able to access our database in the production system.
The following messages were displayed during
serverless deploy
:Function 'MyLambda' VPC not configured based on the error: UnauthorizedOperation: You are not authorized to perform this operation. User: arn:aws:sts::[] is not authorized to perform: ec2:DescribeVpcs because no identity-based policy allows the ec2:DescribeVpcs action
Unfortunately the deployment kept on running, leading to a non-functional state on AWS. So another suggestion/plea is to fail in case an error occurs, so that running applications are not affected.
Thank you for your support. Let me know if I can provide further details.
The text was updated successfully, but these errors were encountered: