Skip to content

vinyldns/terraform-provider-vinyldns

Folders and files

NameName
Last commit message
Last commit date
Aug 7, 2024
Nov 9, 2019
May 11, 2022
Jan 26, 2022
Aug 7, 2024
Sep 4, 2018
Nov 1, 2019
Jan 24, 2019
Jan 26, 2022
Jan 26, 2022
Sep 4, 2018
Jan 26, 2022
Jun 19, 2019
Aug 7, 2024
Aug 1, 2024
Jan 21, 2022
Jan 26, 2022

Repository files navigation

Terraform Registry Build Status GitHub

terraform-provider-vinyldns

A Terraform provider for the VinylDNS DNS as a service API.

See example.tf for an example .tf file.

See https://vinyldns.github.io/terraform-provider-vinyldns for documentation.

Installation

  1. Create a providers.tf file and add the vinyldns provider
terraform {
  required_providers {
    vinyldns = {
      source  = "vinyldns/vinyldns"
      version = "0.10.0"
    }
  }
}

Installing from source

Alternatively, you can install from source:

$ git clone https://github.com/vinyldns/terraform-provider-vinyldns.git
$ cd terraform-provider-vinyldns
$ make install

Add the VinylDNS provider to providers.tf using the local path. Note that the locally installed version will always be 0.0.1 so as not to confuse it with the version released to the Terraform Registry.

terraform {
  required_providers {
    vinyldns = {
      source  = "local/vinyldns-provider/vinyldns"
      version = "0.0.1"
    }
  }
}

Running acceptance tests

The terraform-provider-vinyldns acceptance tests assume a VinylDNS API is running on localhost:9000.

This will be done automatically for you via make test. Note that you must have Docker installed and running.

$ git clone https://github.com/vinyldns/terraform-provider-vinyldns.git
$ cd vinyldns
$ make test

Building

To build terraform-provider-vinyldns binaries for your current platform:

$ make build

Credits

terraform-provider-vinyldns would not be possible without the help of many other pieces of open source software. Thank you open source world!

Given the Apache 2.0 license of terraform-provider-vinyldns, we specifically want to call out the following packages and their corresponding licenses: