-
Notifications
You must be signed in to change notification settings - Fork 824
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
Unexpected throttling during deployment from UpdateRolesWithIDPFunction #13687
Comments
Hey @NickDario, thank you for reaching out. Could you let us know the number of resource the new environment is currently creating. Does waiting for a couple of minutes and running push mitigate the issue? |
Currently we are creating about 1-200 IAM roles per environment. During our amplify cli upgrade we needed to create about half a dozen new environments, We deployed 2 before encountering this issue. After the two were deployed we were unable to create any more for about 24 hours, and then we were only able to deploy one before encountering this issue again. We verified we are not hitting any IAM quota limits as well. What is unclear to me why this lambda is throwing. it seems to only update two policies, the auth and unauth roles. it consistently was this lamdba that threw the throttling error. |
@NickDario apologies on the delay and thank you for the information. The issues seems to be occurring on the AWS SDK call |
thanks @ykethan we'll be happy to see those fixes get in! |
Amplify CLI Version
12.10.1
Question
amplify push
fails as we create new environments.We examine our cloud formation logs see the
UpdateRolesWithIDPFunctionOutputs
lambda function for amplify environment is the source of the error. We visit the cloudwatch logs and find this error.Previously we used amplify v9.2.1 and deployed environments without issue, however after upgrading to v12.10.1 we are seeing this issue. This appears to occur intermittently as we have deployed some environments successfully.
Error in cloud watch:
error.stack
Lambda source
The text was updated successfully, but these errors were encountered: