Skip to content
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

Template may not exceed 1000000 bytes in size. #7680

Closed
alexboulay opened this issue Jul 7, 2021 · 7 comments
Closed

Template may not exceed 1000000 bytes in size. #7680

alexboulay opened this issue Jul 7, 2021 · 7 comments
Labels
api-graphql Issues related to GraphQL resources in the API category question General question

Comments

@alexboulay
Copy link

My org has been using Amplify CLI to create our Graphql API. We have recently hit a limit apparently related to the size of CF Templates exceeding 1MB.

We have a relatively large API but never expected to hit this limit.

What could be the course of action from here?

What I have tried:

  • Disabling subscriptions since we do not currently use them ( not good long term since the plan was to use them )
  • Removing objects that aren't used ( not good long term since we will always feel squeezed by this limit )

I'm really scratching my head on this one...Is it possible we are doing something completely wrong or Amplify CLI was only meant for very small projects?

Any insights is appreciated.

@alexboulay alexboulay added the question General question label Jul 7, 2021
@cjihrig
Copy link
Contributor

cjihrig commented Jul 8, 2021

@alexboulay what version of the CLI are you using? Also, would you be willing to share your GraphQL API with us at [email protected]?

@cjihrig cjihrig added pending-close-response-required api-graphql Issues related to GraphQL resources in the API category labels Jul 9, 2021
@cjihrig
Copy link
Contributor

cjihrig commented Jul 12, 2021

Can you please share which stack is failing as well.

@alexboulay
Copy link
Author

alexboulay commented Jul 12, 2021

@cjihrig Yes. I will absolutely send that your way with the issue id referenced in the subject line.
I just want to make sure I know everything about the env when it is falling because this occurred with another member of my team on his sandboxed environment.
This week, I will reproduce this error in our dev environment with the latest CLI version.
Thank you very much.

@AlessandroAnnini
Copy link

AlessandroAnnini commented Jul 30, 2021

@alexboulay you can try with amplify push --yes --minify

@kaustavghosh06
Copy link
Contributor

@alexboulay are you still stuck on this issue?

@kaustavghosh06
Copy link
Contributor

Closing due to lack of further communication and response.

@github-actions
Copy link

This issue has been automatically locked since there hasn't been any recent activity after it was closed. Please open a new issue for related bugs.

Looking for a help forum? We recommend joining the Amplify Community Discord server *-help channels for those types of questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api-graphql Issues related to GraphQL resources in the API category question General question
Projects
None yet
Development

No branches or pull requests

4 participants