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 #2153

Open
Anirudhastikar opened this issue Dec 21, 2023 · 7 comments
Open

Template may not exceed 1000000 bytes in size #2153

Anirudhastikar opened this issue Dec 21, 2023 · 7 comments
Labels
bug Something isn't working pending-release question Further information is requested theme:appsync-cloudformation-resource-limits

Comments

@Anirudhastikar
Copy link

Amplify CLI Version

12.0.3

Question

This error is blocking us from making any further changes to our API. We have a large schema and sometimes when we try to push it gives us the error Template may not exceed 1000000 bytes in size. So why did this error come apparently?

These are two GitHub issues as references:

  1. Unable to push schema updates due to CloudFormation template size limit  #1453
  2. Template may not exceed 1000000 bytes in size. amplify-cli#7680

image (2)

@Anirudhastikar Anirudhastikar added pending-triage question Further information is requested labels Dec 21, 2023
@AnilMaktala
Copy link

Hi @Anirudhastikar, Thanks for raising this issue. I see that using the --minify option was suggested in issue #1453 as a potential solution. Have you already tried implementing that proposed --minify option but are still running into this error?

@dpilch
Copy link
Contributor

dpilch commented Dec 22, 2023

We met with the customer and determined they are reaching a hard limit set by AppSync. For anyone else that encounters this issue, AppSync is working to increase the limit for all customers. Please refer to this ticket for the status of that feature.

@JeetTatva
Copy link

JeetTatva commented May 24, 2024

Hello @Anirudhastikar, did you managed to solve this issue? I am also facing this on my production and cannot release the new changes. The same deployment on staging env was a success

@dpilch
Copy link
Contributor

dpilch commented May 24, 2024

AppSync is starting to roll out the change that should resolve this.

@JeetTatva are you seeing the Template may not exceed 1000000 bytes in size error or is it the Maximum number of CloudFormation resources a nested stack can create, update, or delete per operation. error? #2432

@JeetTatva
Copy link

AppSync is starting to roll out the change that should resolve this.

@JeetTatva are you seeing the Template may not exceed 1000000 bytes in size error or is it the Maximum number of CloudFormation resources a nested stack can create, update, or delete per operation. error? #2432

@dpilch I get the Template may not exceed 1000000 bytes in size error

@dpilch
Copy link
Contributor

dpilch commented May 29, 2024

AppSync has released the change in all regions. @JeetTatva are you still experiencing the issue?

@LukaASoban
Copy link

@dpilch I am using Gen 2 and I see this warning. Does this mean I can ignore it and I should be good?

[Warning at /amplify-mprj-luka-sandbox-5e82b4985b/data] Template size is approaching limit: 904019/1000000. Split resources into multiple stacks or set suppressTemplateIndentation to reduce template size. [ack: @aws-cdk/core:Stack.templateSize]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending-release question Further information is requested theme:appsync-cloudformation-resource-limits
Projects
None yet
Development

No branches or pull requests

6 participants