Skip to content

Wrong content on page #1078

@madfuchs

Description

@madfuchs

File: themes/default/content//registry/packages/newrelic/api-docs/notificationdestination

Add an empty resource to your terraform file:
terraform

resource “newrelic_notification_destination” “foo” {

}

pulumi import newrelic:index/notificationDestination:NotificationDestination Run import command: newrelic_notification_destination.foo <destination_id>
Copy
Copy
Run the following command after the import successfully done and copy the information to your resource:

terraform state show newrelic_notification_destination.foo

Add ignore_changes attribute on all in your imported resource:

terraform

lifecycle {

ignore_changes = all
}

Your imported destination should look like that:

terraform

resource “newrelic_notification_destination” “foo” {

lifecycle {

ignore_changes = all
}

name = “*********”

type = “SLACK”

auth_token {

prefix = "Bearer"
}

property {

key = "teamName"

label = "Team Name"

value = "******"
}

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/docsImprovements or additions to documentationkind/bugSome behavior is incorrect or out of spec

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions