Terraform plugin for managing domain records (v0.7.10)

Installation
bash <(curl -s https://raw.githubusercontent.com/n3integration/terraform-godaddy/master/install.sh)
API Key
In order to leverage the GoDaddy APIs, an API key is required. The key pair can be optionally stored in environment variables.
export GD_KEY=abc
export GD_SECRET=123
Provider
If key and secret aren't provided under the godaddy provider, they are expected to be exposed as environment variables: GD_KEY and GD_SECRET. If the baseurl is
not specified, the standard godaddy api test site is used instead.
provider "godaddy" {
key = "abc"
secret = "123"
baseurl = "https://api.godaddy.com"
}
Domain Record Resource
A godaddy_domain_record resource requires a domain. If the domain is not registered under the account that owns the key, an optional customer number can be specified.
Additionally, one or more record instances are required. For each record, the name, type, and data attributes are required. The available types include:
resource "godaddy_domain_record" "default" {
domain = "fancy-domain.com"
customer = "1234"
record {
name = "@"
type = "A"
data = "192.168.1.2"
ttl = 3600
}
record {
name = "@"
type = "A"
data = "192.168.1.3"
ttl = 3600
}
record {
name = "www"
type = "CNAME"
data = "fancy.github.io"
ttl = 3600
}
record {
name = "@"
type = "NS"
data = "ns7.domains.com"
ttl = 3600
}
record {
name = "@"
type = "NS"
data = "ns6.domains.com"
ttl = 3600
}
}
License
Copyright 2016 n3integration@gmail.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.