github.com/nathanielks/terraform@v0.6.1-0.20170509030759-13e1a62319dc/website/source/docs/providers/ns1/index.html.markdown (about)

     1  ---
     2  layout: "ns1"
     3  page_title: "Provider: NS1"
     4  sidebar_current: "docs-ns1-index"
     5  description: |-
     6    The [NS1](https://ns1.com/) provider is used to interact with the resources supported by NS1.
     7  ---
     8  
     9  # NS1 Provider
    10  
    11  The NS1 provider exposes resources to interact with the NS1 REST API. The provider needs to be configured
    12  with the proper credentials before it can be used.
    13  
    14  Use the navigation to the left to read about the available resources.
    15  
    16  ## Example Usage
    17  
    18  ```hcl
    19  # Configure the NS1 provider
    20  provider "ns1" {
    21    apikey = "${var.ns1_apikey}"
    22  }
    23  
    24  # Create a new zone
    25  resource "ns1_zone" "foobar" {
    26    # ...
    27  }
    28  ```
    29  
    30  ## Argument Reference
    31  
    32  The following arguments are supported:
    33  
    34  * `apikey` - (Required) NS1 API token. It must be provided, but it can also
    35    be sourced from the `NS1_API_KEY` environment variable.
    36