hashicorp / terraform-provider-ultradns

Terraform UltraDNS provider. Please note: This Terraform provider is archived per our provider archiving process: https://terraform.io/docs/internals/archiving.html
https://www.terraform.io/docs/providers/ultradns/
Mozilla Public License 2.0
7 stars 24 forks source link
terraform terraform-provider ultradns

Please note: This Terraform provider is archived, per our provider archiving process. What does this mean?

  1. The code repository and all commit history will still be available.
  2. Existing released binaries will remain available on the releases site.
  3. Issues and pull requests are not being monitored.
  4. New releases will not be published.

If anyone from the community or an interested third party is willing to maintain it, they can fork the repository and publish it to the Terraform Registry. If you are interested in maintaining this provider, please reach out to the Terraform Provider Development Program at terraform-provider-dev@hashicorp.com.


Terraform Provider

Requirements

Building The Provider

Clone repository in HOME directory

$ git clone https://github.com/terraform-providers/terraform-provider-ultradns.git terraform-provider-ultradns

Enter the provider directory and build the provider

$ go mod tidy
$ go mod vendor
$ make fmt
$ go build -o terraform-provider-ultradns

Using the provider

Note: This will be utilized as a third-party plugin, until officially released by Hashicorp

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.14+ is required). You'll also need to setup a GOPATH, as well as adding $GOPATH/bin to your $PATH

To compile the provider, run go build -o terraform-provider-ultradns. This will build the provider and put the provider binary in current directory

In order to test the provider, you can simply run make test

$ make test

In order to run the full suite of Acceptance tests, run make testacc

$ cp terraform-provider-ultradns_v0.X.X ${terraform_plugin_directory}/plugins
$ export ULTRADNS_USERNAME='***********'
$ export ULTRADNS_PASSWORD='***********'
$ export ULTRADNS_BASEURL='https://api.ultradns.com'
$ export ULTRADNS_DOMAINNAME='Domain Name'
$ make testacc

In order to add the compiled plugin to terraform, you can simply run the following: