I have SNS topic in Account A. From this SNS i want to trigger lambda in Account B.
But i am getting below error.I am trying to deploy using cloudformation stack
The account A is not the owner of Endpoint ARNof-lambda-in-accountB (Service: AmazonSNS,Status Code: 403,ErrorCode: Authorizationerror)
Things i make sure
An SNS subscription must be created from the same account that the Lambda function exists in. The SNS topic policy must allow subscriptions from the Lambda's account.