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

40 lines
1.2 KiB
Markdown
Raw Normal View History

2014-07-25 01:35:40 +02:00
---
layout: "dnsimple"
page_title: "Provider: DNSimple"
sidebar_current: "docs-dnsimple-index"
2014-10-22 05:21:56 +02:00
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.
2014-07-25 01:35:40 +02:00
---
# 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. Please note that this must be an API v1 token.
* `email` - (Required) The email associated with the token. It must be provided, but it can also be sourced from the `DNSIMPLE_EMAIL` environment variable.
2014-07-25 01:35:40 +02:00