amplify-hosting
amplify-hosting copied to clipboard
For CONSOLE Backend Builds: Adding graphql indexes causes backend build to freeze, then timeout some hours later
Before opening, please confirm:
- [X] I have checked to see if my question is addressed in the FAQ.
- [X] I have searched for duplicate or closed issues.
- [X] I have read the guide for submitting bug reports.
- [X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
App Id
d2q36nyru1erh0 (branch master, build 5)
Region
us-east-2
Amplify Hosting feature
Backend builds
Describe the bug
In this commit, I've added several indexes between existing tables. I'm able to deploy this commit to a new environment from scratch, but deploying this as an update to an existing environment freezes then causes the build job to time out. In console.
2022-08-02T07:36:34.072Z [INFO]: UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:30 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:30 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:30 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:29 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:29 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:29 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:28 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:28 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:27 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:27 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:27 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:27 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:27 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:26 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:26 GMT+0000 (Coordinated Universal Time)
UPDATE_IN_PROGRESS XXXResolver AWS::AppSync::Resolver Tue Aug 02 2022 07:36:25 GMT+0000 (Coordinated Universal Time)
UPDATE_COMPLETE XXXResolver AWS::AppSync::FunctionConfiguration Tue Aug 02 2022 07:36:23 GMT+0000 (Coordinated Universal Time)
2022-08-02T07:41:57.792Z [WARNING]: ⠧ Deploying (7 of 11)
# End of output. Build times out some hours later.
Expected behavior
Should finish build, or even throw an error.
Reproduction steps
Deploy backend with several tables.
Update backend to include several indexes between those tables.
Build on console.
Build Settings
amplifyPush --simple
Additional information
No response