Watcher to SNS?

alerting

(Packplusplus) #1

I opened a ticket to support, but I figured I'd ask here.

Has anyone been able to hook a watcher webhook up to SNS? I tried to figure out how to give an instance a policy to mitigate the need for signing the request, but I came up empty.

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "1",
            "Effect": "Allow",
            "Action": [
                "sns:*"
            ],
            "Resource": "arn:aws:sns:us-east-1:SNSTOPIC",
            "Condition": {
                "IpAddress": {
                    "AWS:SourceIp": "INSTANCEIP"
                }
            }
        }
    ]
}

(Alexander Reelsen) #2

Hey,

can you explain how exactly you tried to send something to SNS, which error message you got, and maybe provide your whole watch instead of just having the policy here? Debugging is pretty hard this way. :slight_smile:

--Alex


(system) #3