github.com/vtorhonen/terraform@v0.9.0-beta2.0.20170307220345-5d894e4ffda7/website/source/docs/providers/ns1/r/datafeed.html.markdown (about) 1 --- 2 layout: "ns1" 3 page_title: "NS1: ns1_datafeed" 4 sidebar_current: "docs-ns1-resource-datafeed" 5 description: |- 6 Provides a NS1 Data Feed resource. 7 --- 8 9 # ns1\_datafeed 10 11 Provides a NS1 Data Feed resource. This can be used to create, modify, and delete data feeds. 12 13 ## Example Usage 14 15 ``` 16 resource "ns1_datasource" "example" { 17 name = "example" 18 sourcetype = "nsone_v1" 19 } 20 21 resource "ns1_datafeed" "uswest_feed" { 22 name = "uswest_feed" 23 source_id = "${ns1_datasource.example.id}" 24 25 config = { 26 label = "uswest" 27 } 28 } 29 30 resource "ns1_datafeed" "useast_feed" { 31 name = "useast_feed" 32 source_id = "${ns1_datasource.example.id}" 33 34 config = { 35 label = "useast" 36 } 37 } 38 ``` 39 40 ## Argument Reference 41 42 The following arguments are supported: 43 44 * `source_id` - (Required) The data source id that this feed is connected to. 45 * `name` - (Required) The free form name of the data feed. 46 * `config` - (Optional) The feeds configuration matching the specification in 'feed\_config' from /data/sourcetypes. 47