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

documentation pagerduty_service_integration integration_key attribute is deprecated #782

Closed
Marcus-James-Adams opened this issue Dec 8, 2023 · 2 comments

Comments

@Marcus-James-Adams
Copy link

Hello
#775 introduced the deprecation notice when running terraform plan & apply

The documentation https://registry.terraform.io/providers/PagerDuty/pagerduty/latest/docs/resources/service_integration states that the attribute has been deprecated, however there is nothing to say what we would be using in it place

eg in the code block below what should we use for the servce_key field?

resource "pagerduty_service_integration" "myapp" {
  name    = "my-app-intergration"
  service = pagerduty_service.myapp.id
  vendor  = data.pagerduty_vendor.datadog.id
}

resource "datadog_integration_pagerduty_service_object" "myapp" {
  service_name = pagerduty_service.myapp.name
  service_key  = pagerduty_service_integration.myapp.integration_key
}
@vperaltac
Copy link

vperaltac commented Jan 11, 2024

The deprecation warning also shows up when using integration_key as an output. There is already a PR pending that fixes this issue. Is there an ETA for the fix to be live?

@imjaroiswebdev
Copy link
Contributor

This was addressed by #801. I'd suggest you to upgrade your current PagerDuty TF provider version to v3.4.1.

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

3 participants