Skip to content

SERVICE_NOW_APP integration is not working without any properties #3004

@gopisaba

Description

@gopisaba

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.

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

  1. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions