Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slack configuration not working #1210

Closed
AkshathPatkar opened this issue Oct 2, 2020 · 2 comments · Fixed by #1350
Closed

Slack configuration not working #1210

AkshathPatkar opened this issue Oct 2, 2020 · 2 comments · Fixed by #1350

Comments

@AkshathPatkar
Copy link

AkshathPatkar commented Oct 2, 2020

Hi,

We integrated slack to atlantis with following config in config.yaml file


slack-token: xxxxxxxxx
webhooks:

  • event: apply
    workspace-regex: .*
    kind: slack
    channel: test

and when starting atlantis we get following error "Error: initializing server: initializing webhooks: method_deprecated"

Are we missing some config?

@f33rx
Copy link

f33rx commented Nov 18, 2020

I'm getting the same behavior with Atlantis version 0.15.1. Is this still a sort-of-supported way to get messages to Slack from Atlantis for Terraform Apply status? I have read in other threads that it was initially a Hackathon project. Given its referenced in the docs labeled TODO: and is an active code path best I can tell, is this considered an acceptable feature to use? Do the Authors recommend using some other means via repo workflows instead? Thanks for any coaching or advice.

@emre141
Copy link

emre141 commented Dec 15, 2020

Hi Same problem I have got

Our slack integration is not working that we have got this error Error: initializing server: initializing webhooks: method_deprecated is it about slack method deprecation ?
https://api.slack.com/methods/channels.list
The error thrown by slack itself ?

if err := client.AuthTest(); err != nil {

or that
channelExists, err := client.ChannelExists(channel)

so it corresponds to that
_, err := d.Slack.AuthTest()

I guess the existing used slack api method depreciated https://api.slack.com/methods/channels.list.

is it about slack API ? When does The authors plan to fix this. ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants