Closed nabadger closed 1 month ago
Hi @nabadger The fresh version (v2.9.0) fixes this issue. Example of correct usage:
resource "uptime_check_group" "test" {
name = var.name
config = {
uptime_percent_calculation = var.uptime_percent_calculation
}
contact_groups = []
}
Hi,
We would like to use group-checks for reporting/UI purposes but not for alerting.
On the UI you can achieve this by setting the Group Behavior:
In terraform I would set something like:
However, to set this, we are not allowed to pass in any
contact_groups
. This should be supported as it's an optional.This fails when contact groups is set to
null
or[]
When I set it to
null
it appears to defaultcontact groups
toDefault
.When I set it to
[]
it outputs a bug in the provider:When it's set to
[]
it does appear to have issued the API to uptime.com and set the UI as one would expect, but the result of the terraform is still an error code.