Summary
The newrelic_alert_channel
resource’s include_json_attachment
config cannot be enabled by either 1
or "1"
; it’s just stuck switched off. Documentation link.
Configuration
terraform {
required_version = "~> 0.14.0"
required_providers {
newrelic = {
source = "newrelic/newrelic"
version = "~> 2.16.0"
}
}
}
resource "newrelic_alert_channel" "email_me" {
name = "Email : username@gmail.com"
type = "email"
config {
recipients = "username@gmail.com"
include_json_attachment = "1"
}
}
Also raised on GitHub. Thanks for your time.