You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'The CloudFormation deployment failed due to circular dependency found between nested stacks [{resources}]',
495
+
resolutionMessage: `If you are using functions then you can assign them to existing nested stacks that are dependent on functions or functions depend on them, for example:
496
+
1. If your function is defined as auth triggers, you should assign this function to auth stack.
497
+
2. If your function is used as data resolver or calls data API, you should assign this function to data stack.
498
+
To assign a function to a different stack, use the property 'resourceGroupName' in the defineFunction call and choose auth, data or any custom stack.
499
+
500
+
If your circular dependency issue is not resolved with this workaround, please create an issue here https://github.com/aws-amplify/amplify-backend/issues/new/choose
// This error pattern is observed when circular dependency is between resources in a single stack, i.e. ValidationError is absent from the error message
'The CloudFormation deployment failed due to circular dependency found between resources [{resources}] in a single stack',
511
+
resolutionMessage: `If you are creating custom stacks or adding new CDK resources to amplify stacks, ensure that there are no cyclic dependencies. For more details see: https://aws.amazon.com/blogs/infrastructure-and-automation/handling-circular-dependency-errors-in-aws-cloudformation/`,
0 commit comments