https://github.com/jsok/terraform-provider-dynadot
A Terraform provider plugin to manage nameservers for domains registered with Dynadot
https://github.com/jsok/terraform-provider-dynadot
Last synced: about 1 year ago
JSON representation
A Terraform provider plugin to manage nameservers for domains registered with Dynadot
- Host: GitHub
- URL: https://github.com/jsok/terraform-provider-dynadot
- Owner: jsok
- Created: 2016-04-06T08:44:32.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-07-01T09:20:06.000Z (almost 7 years ago)
- Last Synced: 2025-01-30T03:15:19.474Z (over 1 year ago)
- Language: Go
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/jsok/terraform-provider-dynadot)
**NOTE** This provider is non-functional and of alpha quality. The API below is not implemented.
# Terraform Dynadot provider
A Terraform provider plugin to manage nameservers for domains registered
with [Dynadot](https://www.dynadot.com/).
Makes use of the [Advanced Domain API](https://www.dynadot.com/domain/api3.html).
## Provider
### Example Usage
```hcl
# Configure the Dynadot provider
provider "dynadot" {
api_key = "secret"
}
```
### Argument Reference
The following arguments are supported:
* `api_key` - (*Required*) Your API key. It must be provided, but it can also
be sourced from the `DYNADOT_API_KEY` environment variable.
See https://www.dynadot.com/community/help/question/find-API-settings for
details on how to retrieve your key.
* `api_url` - The base URL of the Dynadot API.
Default: https://api.dynadot.com/api3.xml
## Resources
### `dynadot_domain_nameservers`
Set the nameservers of a domain.
```hcl
resource "dynadot_domain_nameservers" "example_com" {
domain = "example.com"
nameservers = [
"ns1.example.com",
"ns2.example.com"
]
}
```
### Argument Reference
The following arguments are supported:
* `domain` - (*Required*) The domain name you want to set nameservers for.
* `nameservers` - (*Required*) A string list of nameservers, maximum of 13
nameservers.
The domain you are attempting to set nameservers for must have the
"Name Server Setting" set to "Name Servers", if it is set to something else
e.g. "Dynadot Parking", this resource will fail.