terraform-provider-pagerduty
terraform-provider-pagerduty copied to clipboard
Error creating Incident Workflow actions that have no inputs
The Create Zoom Meeting action has no inputs, but the Terraform provider doesn't support that currently:
resource "pagerduty_incident_workflow" "major_incident" {
description = "Major Incident
name = "Major Incident"
team = null
step {
action = "pagerduty.com:incident-workflows:create-zoom-meeting:4"
name = "Create a Zoom Meeting"
}
}
results in an error.
So nonexistent inputs are required to successfully create the Incident Workflow
resource "pagerduty_incident_workflow" "major_incident" {
description = "Major Incident
name = "Major Incident"
team = null
step {
action = "pagerduty.com:incident-workflows:create-zoom-meeting:4"
name = "Create a Zoom Meeting"
input {
name = "Not Required"
value = "Not Required"
}
}
}
however, since that input doesn't exist, that workaround introduces a perma-diff as although the action will be created, the fake input will not.
Ideally the steps should accept zero or more inputs, not one or more as currently.