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_team getting updated in-place even though there are no changes #911

Open
zanthorn opened this issue Jul 17, 2024 · 0 comments
Open

Comments

@zanthorn
Copy link

I manage PD with terraform but have made some manual changes in the UI which has led to some drift. I'm attempting to reconcile those changes, but for some reason the pagerduty_team show in-place updates even though nothing about the teams has changed. The TF defining these resources seems to match what is configured in PagerDuty. Why are these teams being updated if all values match?

Terraform Version

1.6.1

Affected Resource(s)

  • pagerduty_team

Terraform Configuration Files

resource "pagerduty_team" "cloudops" {
  name         = "CloudOps"
  description  = "Cloud Operations"
  default_role = "manager"
}

resource "pagerduty_team" "core" {
  name         = "Core"
  description  = "GSC Core Engineering"
  default_role = "manager"
}

Debug Output

I can provide the debug output securely. There is sensitive information outside of the API token that I don't want to share publicly, like employee PII.

Here is cleaned up plan output

Panic Output

No panic

Expected Behavior

pagerduty_team should not change if all values match the existing configuration

Actual Behavior

The pagerduty_team will be updated in-place, and new team IDs will be generated causing a cascade of changes downstream

Steps to Reproduce

Unsure of how or why this is happening so I can't say the steps to repro

Important Factoids

Nothing particularly interesting

References

I could not find any existing related issues

@zanthorn zanthorn changed the title pagerduty_team getting updated in-place even though there are no changes pagerduty_team getting updated in-place even though there are no changes Jul 31, 2024
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