Open
Description
TF client version: v1.11.0
Provider version: 0.14.3
In the Sentry console -> alerts -> Set conditions, we only set the minimum required triggers:
But in the provider documentation, example usage shows a sample code where all conditions are explicitly defined with empty {}.
I tried my code with only the required triggers as follows:
action_match = "any"
frequency = 1440
environment = "prd"
conditions_v2 = [
{
event_frequency = {
comparison_type = "count"
value = 5
interval = "1h"
}
},
]
And I get the following error:
│
│ with sentry_issue_alert.my_crappy_service_is_down,
│ on crappy_service.tf line 1, in resource "sentry_issue_alert" "my_crappy_service_is_down":
│ 1: resource "sentry_issue_alert" "my_crappy_service_is_down" {
│
│ Unable to update, got status 400: {"conditions":["Ensure all required fields are filled in."]}
╵
Can we fix the provider to allow only specifying the required conditions?
Metadata
Metadata
Assignees
Labels
No labels