-
Notifications
You must be signed in to change notification settings - Fork 116
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
Fetching updates to backend environment: takes a lot of time #3055
Comments
Hi @hackmajoris can you please provide your App ID so we can investigate why your builds are running for an extended period? |
@hloriana The app ID is d3gbyqqyggsz5w We use Amplify hooks with JavaScript, and here are some job examples inside hooks:
Some of them are for out application logic. Some of them are the post-push fixes which Amplify brakes during the deployment, like Cognito Triggers, and data source attachments to the AppSync. Until the version 10 of Amplify, all the hooks files were pushed and pulled to the S3 deployment bucket. You may guess that we need some node packages, like AWS SDK, in order to build those scripts. Locally, The amplify.yml then, will look like this:
At this step, the This consumed a lot of time. The solution I've done so far is this:
This could be avoided if this bug aws-amplify/amplify-cli#11021 |
Fixed with #11179 |
|
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Which Category is your question related to?
Amplify Hosting
Amplify CLI Version
9.2.1
What AWS Services are you utilizing?
Short story: our project takes almost 1 hour to be deployed.
I'm wondering:
Also, the 'assumed role' token which Amplify uses to do the build, expires after 1 hour. We already started to get to that limit, and have no workaround for that.
Any insights are useful.
Thank you!
The text was updated successfully, but these errors were encountered: