'SQS SNS Subscription between two different Localstack containters

I have two different set of Services. Each service set has a Localstack container running. Can an SQS created in one Localstack service set subscribe to the SNS created in another Localstack service set ?? How can we handle this scenario ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source