Files
opentf/website/source/docs/providers/ns1/r/datasource.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

717 B

layout, page_title, sidebar_current, description
layout page_title sidebar_current description
ns1 NS1: ns1_datasource docs-ns1-resource-datasource Provides a NS1 Data Source resource.

ns1_datasource

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

Example Usage

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

Argument Reference

The following arguments are supported:

  • name - (Required) The free form name of the data source.
  • sourcetype - (Required) The data sources type, listed in API endpoint https://api.nsone.net/v1/data/sourcetypes.
  • config - (Optional) The data source configuration, determined by its type.