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

importing pagerduty_incident_workflow crashes #786

Open
simontabor opened this issue Dec 14, 2023 · 0 comments
Open

importing pagerduty_incident_workflow crashes #786

simontabor opened this issue Dec 14, 2023 · 0 comments

Comments

@simontabor
Copy link

simontabor commented Dec 14, 2023

Terraform Version

Run terraform -v to show the version. If you are not running the latest version of Terraform, please upgrade because your issue may have already been fixed.

v1.6.5

Affected Resource(s)

  • pagerduty_incident_workflow

Terraform Configuration Files

import {
  id = "P2SET0V"
  to = pagerduty_incident_workflow.major_incident
}

resource "pagerduty_incident_workflow" "major_incident" {
  name        = "Major incident workflow"
  description = "Workflow to handle any major incident"
}

Debug Output

Please provider a link to a GitHub Gist containing the complete debug output: https://www.terraform.io/docs/internals/debugging.html. Please do NOT paste the debug output in the issue; just paste a link to the Gist.

Panic Output

https://gist.github.com/simontabor/e1850f8cda79ab9b55d6907a80144b79

Expected Behavior

Resource imported successfully

Actual Behavior

Crash

Steps to Reproduce

  1. Create an incident workflow in the UI
  2. Import the workflow to terraform
  3. terraform plan - get a crash

Important Factoids

Created the incident workflow using the template.
Before publishing the workflow, the plan worked fine (but it detected no steps in the existing resource)
After publishing the workflow, the provider crashes

References

Can't see any

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