Skip to content

Using snapStart option from Serverless 3.26.0 causes circular dependency error #205

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

Open
Austint30 opened this issue Jan 25, 2023 · 0 comments

Comments

@Austint30
Copy link

Austint30 commented Jan 25, 2023

Hello,

I want to upgrade to Serverless V3 to use the new SnapStart feature, but when I set snapStart: true to at least one function it causes this circular dependency error upon deployment:

The CloudFormation template is invalid: Circular dependency between resources: [ApiGatewayDeployment1674676579555, PermissionsNestedStack, 4NestedStack, VersionsNestedStack]

If I set all snapStart options to false or remove all of them, the stack deploys successfully.

This is my splitStacks config:

splitStacks:
  perType: true
  perGroupFunction: true
  nestedStackCount: 4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant