40 lines
1.1 KiB
Markdown
40 lines
1.1 KiB
Markdown
---
|
|
layout: "dnsimple"
|
|
page_title: "Provider: DNSimple"
|
|
sidebar_current: "docs-dnsimple-index"
|
|
description: |-
|
|
The DNSimple provider is used to interact with the resources supported by DNSimple. The provider needs to be configured with the proper credentials before it can be used.
|
|
---
|
|
|
|
# DNSimple Provider
|
|
|
|
The DNSimple provider is used to interact with the
|
|
resources supported by DNSimple. 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 DNSimple provider
|
|
provider "dnsimple" {
|
|
token = "${var.dnsimple_token}"
|
|
email = "${var.dnsimple_email}"
|
|
}
|
|
|
|
# Create a record
|
|
resource "dnsimple_record" "www" {
|
|
...
|
|
}
|
|
```
|
|
|
|
## Argument Reference
|
|
|
|
The following arguments are supported:
|
|
|
|
* `token` - (Required) The DNSimple API token. It must be provided, but it can also be sourced from the `DNSIMPLE_TOKEN` environment variable.
|
|
* `email` - (Required) The email associated with the token. It must be provided, but it can also be sourced from the `DNSIMPLE_EMAIL` environment variable.
|
|
|
|
|