github.com/turtlemonvh/terraform@v0.6.9-0.20151204001754-8e40b6b855e8/website/source/docs/providers/dme/index.html.markdown (about)

     1  ---
     2  layout: "dme"
     3  page_title: "Provider: DNSMadeEasy"
     4  sidebar_current: "docs-dme-index"
     5  description: |-
     6    The DNSMadeEasy provider is used to interact with the resources supported by DNSMadeEasy. The provider needs to be configured with the proper credentials before it can be used.
     7  ---
     8  
     9  # DNSMadeEasy Provider
    10  
    11  The DNSMadeEasy provider is used to interact with the
    12  resources supported by DNSMadeEasy. The provider needs to be configured
    13  with the proper credentials before it can be used.
    14  
    15  Use the navigation to the left to read about the available resources.
    16  
    17  ## Example Usage
    18  
    19  ```
    20  # Configure the DNSMadeEasy provider
    21  provider "dme" {
    22      akey = "${var.dme_akey}"
    23      skey = "${var.dme_skey}"
    24      usesandbox = true
    25  }
    26  
    27  # Create an A record
    28  resource "dme_record" "www" {
    29      domainid = "123456"
    30      ...
    31  }
    32  ```
    33  
    34  ## Argument Reference
    35  
    36  The following arguments are supported:
    37  
    38  * `akey` - (Required) The DNSMadeEasy API key. This can also be specified with
    39    the `DME_AKEY` shell environment variable.
    40  * `skey` - (Required) The DNSMadeEasy Secret key. This can also be specified
    41    with the `DME_SKEY` shell environment variable.
    42  * `usesandbox` - (Optional) If true, the DNSMadeEasy sandbox will be
    43    used. This can also be specified with the `DME_USESANDBOX` shell environment
    44    variable.