-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
Description
As shown in the examples, if I try to create the newrelic_notification_channel for SERVICE_NOW_APP without any properties, the validation is failing.
Please include the following with your bug report
⚠️ Important: Failure to include the following, such as omitting the Terraform configuration in question, may delay resolving the issue.
- Your New Relic
providerconfiguration (sensitive details redacted) - A list of affected resources and/or data sources
- The configuration of the resources and/or data sources related to the bug report (i.e. from the list mentioned above)
- Description of the current behavior (the bug)
- Description of the expected behavior
- Any related log output
Terraform Version
v1.14.1
Affected Resource(s)
newrelic_notification_channel
Terraform Configuration
terraform {
required_version = "1.14.1"
backend "s3" {}
required_providers {
newrelic = {
source = "newrelic/newrelic"
version = "3.76.0"
}
}
}
provider "newrelic" {
region = "US"
}
data "newrelic_notification_destination" "servicenow" {
name = "servicenow"
}
resource "newrelic_notification_channel" "servicenow" {
name = "servicenow"
type = "SERVICE_NOW_APP"
destination_id = data.newrelic_notification_destination.servicenow.id
product = "IINT"
}Actual Behavior
What actually happened?
It fails with Insufficient property blocks. It expects at least 1 property block but in the documentation, it says no properties for SERVICE_NOW_APP
Expected Behavior
What should have happened?
Expected to apply and create the notification channel in NewRelic for ServiceNow.
Steps to Reproduce
terraform apply
Debug Output
NA
Panic Output
task: [apply] terraform apply -input=false
╷
│ Error: Insufficient property blocks
│
│ on servicenow.tf line 32, in resource "newrelic_notification_channel" "servicenow":
│ 32: resource "newrelic_notification_channel" "servicenow" {
│
│ At least 1 "property" blocks are required.
Important Factoids
NA
References
NA
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels