terraform-aws-slackbot
terraform-aws-slackbot copied to clipboard
can this be used in a private environment without a domain?
Hi,
I'm looking at your module and it fits a lot of my criteria for building a slack bot internally at my organization. I was wondering how hard it would be to not set up a custom domain in route53 and just use the internal API Gateway address (PRIVATE APIG)? It appears the step functions are referencing the domain so I'm not sure if this is a difficult effort? I didn't want to dig too far into this so figured I'd ask here.
Thanks!
I don't think this would work because Slack is going to need to call out to your API and if it's private that won't be possible
Yeah I was wondering about that but I've been able to set up a "Socket Mode" bot that does not need to call out from external. I'll see where this goes, I like your set up with APIG and Step Functions.
I haven't messed around with Socket Mode at all but the references to the domain name in the Step Functions are just to pass it as the Source field in published events, eg
{
"EventBusName": "example-slack-app",
"Source": "example.com",
"DetailType": "POST /callback",
"Detail": "{...}"
}