Open JayChanggithub opened 2 years ago
@JayChanggithub In case you want to send notifications from specific PD service into some Slack channels, brand new slack_connection resources might do the trick.
I've used this method and it does the job nicely, but have few drawbacks:
user_token
In case you need extension add-on specifically, here is the code example which might work according to docs:
data "pagerduty_extension_schema" "slack_v2" {
name = "Slack V2"
}
resource "pagerduty_extension" "slack"{
name = "channel name"
endpoint_url = "slack hook url"
extension_schema = data.pagerduty_extension_schema.slack_v2.id
extension_objects = [pagerduty_service.promethues.id]
}
However, multiple issues in that repo states that those Slack V2 extensions wouldn't work anymore due to changes on Slack API side and PD folks recommend using slack_connection instead (example).
Hi there,
Terraform Version
Terraform v0.15.3
Affected Resource(s)
Please list the resources as a list, for example:
i wanna to implement extension add-on to specific service. The extension add-on is Slack V2 and associate specific channel. I not very sure my configuration have any miss?
Terraform Configuration Files
Panic Output