Skip to content

An error occurred: AppSyncNestedStack - Template format error: Outputs count 61 is greater than max allowed 60. #330

Description

@bhargavgoli

I got this error because the AppSyncNestedStack outputs are increased to >60, and it will increase day by day, as the backend is got increased.

AWS cloudformation has a limit of outputs upto 60. Can you please help me how can remove outputs on the nestedstack.

The below is the error log:

bash-3.2# sls deploy
AppSync Plugin: GraphQl schema valid
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: [serverless-plugin-split-stacks]: Summary: 181 resources migrated in to 6 nested stacks
Serverless: [serverless-plugin-split-stacks]: Resources per stack:
Serverless: [serverless-plugin-split-stacks]: - (root): 180
Serverless: [serverless-plugin-split-stacks]: - 1NestedStack: 2
Serverless: [serverless-plugin-split-stacks]: - APINestedStack: 11
Serverless: [serverless-plugin-split-stacks]: - AppSyncNestedStack: 62
Serverless: [serverless-plugin-split-stacks]: - AppSyncResolverNestedStack: 95
Serverless: [serverless-plugin-split-stacks]: - PermissionsNestedStack: 10
Serverless: [serverless-plugin-split-stacks]: - PoliciesNestedStack: 1
Serverless: Uploading CloudFormation file to S3...
Serverless: Uploading artifacts...
Serverless: Uploading service appsync.zip file to S3 (27.03 MB)...
Serverless: Validating template...
Serverless: Updating Stack...
Serverless: Checking Stack update progress...
..............................................................................................................
Serverless: Operation failed!
Serverless: View the full error output: https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stack/detail?stackId=arn%3Aaws%3Acloudformation%3Aus-east-1%3A884743863304%3Astack%2Fappsync-alpha%2Fbe914050-3dfa-11ea-94ad-0af228e676ce

Serverless Error ---------------------------------------

An error occurred: AppSyncNestedStack - Template format error: Outputs count 61 is greater than max allowed 60.

Get Support --------------------------------------------
Docs: docs.serverless.com
Bugs: github.com/serverless/serverless/issues
Issues: forum.serverless.com

Your Environment Information ---------------------------
Operating System: darwin
Node Version: 12.13.1
Framework Version: 1.61.0
Plugin Version: 3.2.7
SDK Version: 2.2.1
Components Core Version: 1.1.2
Components CLI Version: 1.4.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions