You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: when trigger type conditional is used, condition must be specified
with pagerduty_incident_workflow_trigger.stakeholders_conditional
on pagerduty.tf line 93, in resource "pagerduty_incident_workflow_trigger" "stakeholders_conditional":
93: resource "pagerduty_incident_workflow_trigger" "stakeholders_conditional"
Expected Behavior
Trigger should be created as 'When an incident is created' as its conditional.
Actual Behavior
Error: when trigger type conditional is used, condition must be specified
Steps to Reproduce
terraform plan
Important Factoids
When creating a trigger in the UI, you can use two options for a conditional trigger
When an incident is created
When conditions are met
Also, per the PagerDuty API docs it states the condition value can be null or "",
condition
string
A PCL condition string.
If specified, the trigger will execute when the condition is met on an incident.
If unspecified, the trigger will execute on incident creation.
Required if trigger_type is “conditional”, not allowed if trigger_type is “manual”.
Versions
Terraform v1.0.4
PagerDuty Provider v3.12.0
Affected Resource(s)
pagerduty_incident_workflow_trigger
Terraform Configuration Files
Debug Output
Expected Behavior
Trigger should be created as 'When an incident is created' as its conditional.
Actual Behavior
Error: when trigger type conditional is used, condition must be specified
Steps to Reproduce
terraform plan
Important Factoids
When creating a trigger in the UI, you can use two options for a conditional trigger
Also, per the PagerDuty API docs it states the condition value can be null or "",
References
I found this issue, #924
The text was updated successfully, but these errors were encountered: