PagerDuty / terraform-provider-pagerduty

Terraform PagerDuty provider
https://www.terraform.io/docs/providers/pagerduty/
Mozilla Public License 2.0
206 stars 210 forks source link

pagerduty_incident_workflow create-zoom-meeting says there is update in place when no change made to configuration #916

Open jd-ohea opened 2 months ago

jd-ohea commented 2 months ago

Terraform Version

v1.8.5

Terraform Configuration Files

resource "pagerduty_incident_workflow" "major_workflow" {
  name        = "Major Incident Workflow"
  description = "Automatically create zoom"
  ...
step {
    action = "pagerduty.com:incident-workflows:create-zoom-meeting:1"
    name   = "Create a Zoom Meeting"
    input {
      name  = "Not Required"
      value = "Not Required"
    }
  }
...
}

Expected Behavior

No change present in the the workflow configuration

Actual Behavior

There was a change detected in the configuration when in fact there was no change present.

  # module.incident_workflows.pagerduty_incident_workflow.major_workflow will be updated in-place
  ~ resource "pagerduty_incident_workflow" "major_workflow" {
        id          = "XXXXXXX"
        name        = "Major Incident Workflow"
        # (1 unchanged attribute hidden)

      ~ step {
            id     = "XXXXXXX"
            name   = "Create a Zoom Meeting"
            # (1 unchanged attribute hidden)

          + input {
              + generated = false
              + name      = "Not Required"
              + value     = "Not Required"
            }
        }

        # (11 unchanged blocks hidden)
    }

Steps to Reproduce

Please list the steps required to reproduce the issue, for example:

  1. terraform apply a pagerduty_incident_workflow like above
  2. terraform apply again and the there will be a change to add in the zoom input even though there is no change to the configuration file.