Closed mriedem closed 3 months ago
The API response is correct, either one or both of them need to be true. If both were false that would mean an alert should never be sent.
The terraform isn't quite incorrect because independently they are optional, but I agree the text should be updated to specify the relationship they have with each other.
I had a
logdna_view
resource defined with this block:And it failed with:
According to the docs both
immediate
andterminal
are optional, andimmediate
defaults to "false" whileterminal
defaults to "true", so isn't the condition already satisfied given the defaults?If this isn't an API issue, then I suggest the docs be updated to explain that at least one of terminal or immediate must be specified and must be true.