Referencing CloudFormation Outputs

Hey does your serverless file similar this: https://github.com/ProbablePrime/serverless-sns-issue/blob/master/serverless.yml ?

I’m having what sounds like a similar issue. There’s some discussion here:

I’m looking around for some details and found: Create a subscription between my Amazon SQS queue and an Amazon SNS topic in CloudFormation | AWS re:Post which seems helpful.

I’ll be trying out some stuff on the above repo today and will let you know if i get anywhere.

Edit: I Fixed it!!!

The key part here is the Ref function available in cloudformation. Ref - AWS CloudFormation