terraform/website/source/docs/providers/dme/index.html.markdown

46 lines
1.3 KiB
Markdown
Raw Normal View History

2015-01-23 05:56:39 +01:00
---
layout: "dme"
2015-01-23 05:56:39 +01:00
page_title: "Provider: DNSMadeEasy"
sidebar_current: "docs-dme-index"
2015-01-23 05:56:39 +01:00
description: |-
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.
---
# DNSMadeEasy Provider
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.
Use the navigation to the left to read about the available resources.
## Example Usage
2017-04-10 18:20:42 +02:00
```hcl
2015-01-23 05:56:39 +01:00
# Configure the DNSMadeEasy provider
provider "dme" {
akey = "${var.dme_akey}"
skey = "${var.dme_skey}"
usesandbox = true
2015-01-23 05:56:39 +01:00
}
# Create an A record
resource "dme_record" "www" {
domainid = "123456"
# ...
2015-01-23 05:56:39 +01:00
}
```
## Argument Reference
The following arguments are supported:
* `akey` - (Required) The DNSMadeEasy API key. This can also be specified with
the `DME_AKEY` shell environment variable.
* `skey` - (Required) The DNSMadeEasy Secret key. This can also be specified
with the `DME_SKEY` shell environment variable.
2015-01-23 05:56:39 +01:00
* `usesandbox` - (Optional) If true, the DNSMadeEasy sandbox will be
used. This can also be specified with the `DME_USESANDBOX` shell environment
variable.