Code Monkey home page Code Monkey logo

terraform-provider-dme's Introduction

DNSMadeEasy Provider

Requirements

Building The Provider

Clone this repository to: $GOPATH/src/github.com/DNSMadeEasy/terraform-provider-dme.

$ mkdir -p $GOPATH/src/github.com/DNSMadeEasy; cd $GOPATH/src/github.com/DNSMadeEasy
$ git clone https://github.com/DNSMadeEasy/terraform-provider-dme.git

Enter the provider directory and run make build to build the provider binary.

$ cd $GOPATH/src/github.com/DNSMadeEasy/terraform-provider-dme
$ make build

Using The Provider

If you are building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

ex.

#configure provider with your DNSMadeEasy credentials.
provider "dme" {
  # DNSMadeEasy Api key
  apikey = "apikey"
  # DNSMadeEasy secret key
  secretkey = "secretkey"
  insecure = true
  proxy_url = "https://proxy_server:proxy_port"
}

resource "dme_domain" "example" {
  name            = "example.com"
  gtd_enabled     = "false"
  soa_id          = "${dme_custom_soa_record.example.id}"
  template_id     = "${dme_template.example.id}"
  vanity_id       = "${dme_vanity_nameserver_record.example.id}"
  transfer_acl_id = "${dme_transfer_acl.example.id}"
  folder_id       = "${dme_folder.example.id}"
}
terraform plan -parallelism=1
terraform apply -parallelism=1

Developing The Provider

If you want to work on the provider, you'll first need Go installed on your machine. 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 with sanity checks present in scripts directory and put the provider binary in $GOPATH/bin directory.

terraform-provider-dme's People

Contributors

grubernaut avatar rutviks-crest avatar nkatarmal-crest avatar jr-frazier avatar stack72 avatar radeksimko avatar randomcamel avatar cgriggs01 avatar pearkes avatar jefferai avatar phinze avatar gechr avatar jen20 avatar jlund avatar mitchellh avatar sethvargo avatar gonrial avatar katbyte avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.