42 lines
1.0 KiB
Markdown
42 lines
1.0 KiB
Markdown
|
---
|
||
|
layout: "dnsmadeeasy"
|
||
|
page_title: "Provider: DNSMadeEasy"
|
||
|
sidebar_current: "docs-dnsmadeeasy-index"
|
||
|
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
|
||
|
|
||
|
```
|
||
|
# Configure the DNSMadeEasy provider
|
||
|
provider "dme" {
|
||
|
akey = "${var.dme_akey}"
|
||
|
skey = "${var.dme_skey}"
|
||
|
usesandbox = true
|
||
|
}
|
||
|
|
||
|
# Create an A record
|
||
|
resource "dme_record" "www" {
|
||
|
domainid = "123456"
|
||
|
...
|
||
|
}
|
||
|
```
|
||
|
|
||
|
## Argument Reference
|
||
|
|
||
|
The following arguments are supported:
|
||
|
|
||
|
* `akey` - (Required) The DNSMadeEasy API key
|
||
|
* `skey` - (Required) The DNSMadeEasy Secret key
|
||
|
* `usesandbox` - (Optional) If true, the DNSMadeEasy sandbox will be
|
||
|
used
|