# Packages
# README
This Terraform provider is archived, per our provider archiving process. What does this mean?
- The code repository and all commit history will still be available.
- Existing released binaries will remain available on the releases site.
- Documentation will remain on the Terraform website.
- Issues and pull requests are not being monitored.
- New releases will not be published.
If anyone from the community or an interested third party is willing to maintain it, they can either be granted access here or fork the repository for their own uses. If you are interested in maintaining this provider, please reach out to the Terraform Provider Development Program at [email protected].
Terraform Provider
- Website: https://www.terraform.io
- Mailing list: Google Groups
Requirements
Building The Provider
Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-powerdns
$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone [email protected]:terraform-providers/terraform-provider-powerdns
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-powerdns
$ make build
Using the provider
Fill in for each provider
Developing the Provider
If you wish to work on the provider, you'll first need Go installed on your machine (version 1.8+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin
to your $PATH
.
To compile the provider, run make build
. This will build the provider and put the provider binary in the $GOPATH/bin
directory.
$ make bin
...
$ $GOPATH/bin/terraform-provider-powerdns
...
In order to test the provider, you can simply run make test
.
$ make test
You can use docker-compose
to prepare test environment for acceptance tests:
docker-compose run --rm setup
PDNS_SERVER_URL=http://localhost:8081 PDNS_API_KEY=secret make testacc
docker-compose down