Files
opentf/website/source/docs/providers/ns1/r/datafeed.html.markdown
George Christou 61277c0dbd website/docs: Run terraform fmt on code examples (#12075)
* docs/vsphere: Fix code block

* docs: Convert `...` to `# ...` to allow `terraform fmt`ing

* docs: Trim trailing whitespace

* docs: First-pass run of `terraform fmt` on code examples
2017-02-19 00:48:50 +02:00

1012 B

layout, page_title, sidebar_current, description
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.