topic.subscribeQueue across stacks creates a cyclic dependency #1534
Labels
@aws-cdk/aws-sns
Related to Amazon Simple Notification Service
@aws-cdk/aws-sqs
Related to Amazon Simple Queue Service
bug
This issue is a bug.
Repro:
Error:
This is because
sns.Subscription
references the queue andsqs.QueuePolicy
references the topic. I wonder if the right solution to this is to create the subscription in the scope of the queue and not in the scope of the topic.The text was updated successfully, but these errors were encountered: