terraform/website/source/docs/providers/ns1/r/datafeed.html.markdown

994 B

layout page_title sidebar_current description
ns1 NS1: ns1_datafeed docs-ns1-resource-datafeed Provides a NS1 Data Feed resource.

ns1_datafeed

Provides a NS1 Data Feed resource. This can be used to create, modify, and delete data feeds.

Example Usage

resource "ns1_datasource" "example" {
  name = "example"
  sourcetype = "nsone_v1"
}

resource "ns1_datafeed" "uswest_feed" {
  name = "uswest_feed"
  source_id = "${ns1_datasource.example.id}"
  config = {
    label = "uswest"
  }
}

resource "ns1_datafeed" "useast_feed" {
  name = "useast_feed"
  source_id = "${ns1_datasource.example.id}"
  config = {
    label = "useast"
  }
}

Argument Reference

The following arguments are supported:

  • source_id - (Required) The data source id that this feed is connected to.
  • name - (Required) The free form name of the data feed.
  • config - (Optional) The feeds configuration matching the specification in 'feed_config' from /data/sourcetypes.