Skip to content

Commit 20d9a42

Browse files
committed
PR updates
1 parent 1ad8cdd commit 20d9a42

File tree

1 file changed

+2
-2
lines changed
  • src/pages/[platform]/build-a-backend/troubleshooting/circular-dependency

1 file changed

+2
-2
lines changed

src/pages/[platform]/build-a-backend/troubleshooting/circular-dependency/index.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ export function getStaticProps(context) {
2525
};
2626
}
2727

28-
When deploying a Amplify Gen 2 app, you may encounter the error message `The CloudFormation deployment failed due to circular dependency` in your backend build on Amplify Console or while running a sandbox. This error can occur because of circular dependencies between CloudFormation nested stacks or between resources in a single CloudFormation stack.
28+
When deploying a Amplify Gen 2 app, you may encounter the error message `The CloudFormation deployment failed due to circular dependency` in your backend build on Amplify Console or while running a sandbox. This error can occur due to circular dependencies between CloudFormation nested stacks or between resources in a single CloudFormation stack.
2929

3030
## Circular dependency error between nested stacks
3131

32-
If you see this error "The CloudFormation deployment failed due to circular dependency found between nested stacks [data1234ABCD, function6789XYZ]", it means that the nested stack for data and the nested stack for function have circular dependencies. E.g. if you are using the function as a query handler, but the function also needs access to the data (or AppSync) API, you might run into this issue. To resolve, assign this function to the data stack
32+
If you see this error "The CloudFormation deployment failed due to circular dependency found between nested stacks [data1234ABCD, function6789XYZ]", it means that the nested stack for `data` and the nested stack for `function` have circular dependencies. E.g. if you are using the function as a query handler, but the function also needs access to the data (or `AppSync`) API, you might run into this issue. To resolve, assign this function to the `data` stack
3333

3434
```ts title="function.ts"
3535
export const queryFunction = defineFunction({

0 commit comments

Comments
 (0)