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

pagerduty_vendor for "Events API v2" #932

Open
pedrocarrico opened this issue Sep 24, 2024 · 0 comments
Open

pagerduty_vendor for "Events API v2" #932

pedrocarrico opened this issue Sep 24, 2024 · 0 comments

Comments

@pedrocarrico
Copy link

Hi,

I'm trying to get the details of a PagerDuty vendor to create a service integration but when I fetch with the name "Events API v2" I get the details for "PRTG Notification For PagerDuty Events API v2".
The "Events API v2" integration is done by PageDuty not an external vendor so probably that integration isn't possible to be fetched from this API?
How can I fetch via terraform the details for this integration type so I can create a service integration correctly?

Terraform Version

v1.8.5

Affected Resource(s)

pagerduty_vendor on version 3.15.6

Terraform Configuration Files

data "pagerduty_vendor" "events_api_v2" {
  name = "Events API v2"
}

resource "pagerduty_service_integration" "example" {
  name    = data.pagerduty_vendor.events_api_v2.name
  service = pagerduty_service.example.id
  vendor  = data.pagerduty_vendor.events_api_v2.id
}

Expected Behavior

On that data resource I should get the "Events API v2" vendor and integration details.

Actual Behavior

I got the "PRTG Notification For PagerDuty Events API v2" vendor and integration details.

Steps to Reproduce

Use the data resource, see that if fetches the wrong vendor for the integration.

Important Factoids

  • N/A

References

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

No branches or pull requests

1 participant