Open dalefrancum opened 4 years ago
Hey CDK Team, PVIT SDE here. My team is running into this same issue for a new stack we're developing with the Events Rules in one stack and the lambda, queue, and other components in another one.
We put a temporary workaround by having the Event Rules in the same file as the closest reach point (in our case, the SQS Stack). Would love to have better isolation for our stacks in the near future.
This issue has not received any attention in 1 year. If you want to keep this issue open, please leave a comment below and auto-close will be canceled.
This is still an active issue that should be addressed
When creating a CloudWatch Rule in CDK, if the rule is in a different stack from the Lambda, this results in an error. The error can be reproduced by typing
cdk ls
.Adding this dependency (${reason}) would create a cyclic reference.
This is/was a similar issue with API Gateway. The CloudWatch problem was mentioned in the bottom of that issue. https://github.com/aws/aws-cdk/issues/3000
Reproduction Steps
Error Log
Environment
Other
This is/was a similar issue with API Gateway. The CloudWatch problem was mentioned in the bottom of that issue. https://github.com/aws/aws-cdk/issues/3000
This is :bug: Bug Report