github.com/pbthorste/terraform@v0.8.6-0.20170127005045-deb56bd93da2/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 config = { 25 label = "uswest" 26 } 27 } 28 29 resource "ns1_datafeed" "useast_feed" { 30 name = "useast_feed" 31 source_id = "${ns1_datasource.example.id}" 32 config = { 33 label = "useast" 34 } 35 } 36 ``` 37 38 ## Argument Reference 39 40 The following arguments are supported: 41 42 * `source_id` - (Required) The data source id that this feed is connected to. 43 * `name` - (Required) The free form name of the data feed. 44 * `config` - (Optional) The feeds configuration matching the specification in 'feed\_config' from /data/sourcetypes. 45