Notify specific channels that an emoji has been added
- golang
- terraform
- aws
cp .env.example .env
ENV | Description |
---|---|
SLACK_BOT_TOKEN | Bot User OAuth Access Token String beginning with xoxb- |
CHANNEL_ID | For sending notifications |
aws_profile | Example: "default" |
aws_region | Example: "ap-northeast-1" |
resource_prefix | Example: "Emoji-Notification-SlackBot" |
terraform apply -var-file .env
- Copy the output api_endpoint.
- Access Slack API
- Create your app
- Turn on Enable Events in "Event Subscriptions" and register API_ENDPOINT in the Request URL.