resource “newrelic_alert_channel” “channel-name” {
name = “Test Channel”
type = “slack”
config {
url = “my web hook url from Slack”
channel = “some-slack-channel”
}
}
It succeeds in TF 14.6:
newrelic_alert_channel.channel-name: Creation complete after 1s [id=4766302]
But the channel is definitely not in the list of channels in the UI and I cannot assign it to an alert policy. The ID returned: 4766302 seems to not exist in anyway.
But I can also import the channel back into my state via the id: 4766302
Anyone able to create/provision a channel from TF? What am I missing?