Terraform configuration to automatically authenticate to slack channel

Hi, is it possible to automatically authenticate to a slack channel through resource “pagerduty_extension”?
For now, we can create an extension on the service but have to authenticate it to slack manually in the UI.

Hello,

At this time, it is not possible to authenticate slack channel through terraform. However, there is a Feature Request round this which I will add your voice to.

Kind regards,

1 Like

PagerDuty is migrating to new version of the Slack extension, which does support this.

On November 1, 2021, Your current PagerDuty Slack V1 application will be discontinued. We’ve released the Next Generation PagerDuty Slack V2 application, Details here. Please migrate to ensure you can continue receiving PagerDuty notifications in Slack. Contact support if you have any questions.

The PagerDuty API now has Slack specific connections available and the Terraform provider has a Slack specific resource. The API works well, the only caveat is that you need to use a user-level API token. Creating the resource via the Terraform provider, on the other hand, is broken for me. I have a support request outstanding and hope to get it resolved soon.