terraform-provider-sentry icon indicating copy to clipboard operation
terraform-provider-sentry copied to clipboard

data.sentry_organization_integration can't find pagerduty integration

Open ianwremmel opened this issue 1 year ago • 0 comments

This is almost certainly a mistake on my part, but I'm kinda lost as to what to do next.

I've got the following data resource:

data "sentry_organization_integration" "pagerduty" {
  count = var.sentry ? 1 : 0

  name         = "ian-remmel-llc"
  organization = "ian-remmel"
  provider_key = "pagerduty"
}

ian-remmel is definitely the Sentry org slug that has been working for other Sentry resources and ian-remmel-llc certaintly appears to be the slug for pagerduty (it's my pagerduty subdomain).

Why would I be getting that error? Is there some required piece of setup I'm missing? Am I supplying the wrong value to name? Is this error you get if you're not on a plan that supports pagerduty? (I do have pagerduty working from when I configured it through the gui, but that might be a bug because I'm on the free plan)

ianwremmel avatar Sep 19 '24 05:09 ianwremmel