Giter Site home page Giter Site logo

terraform-provider-dyn's Introduction

Terraform Provider

A Terraform provider for Dynect forked from official archived terraform provider.

It supports Dynect record creation, like the original project, and it adds support for traffic director creation.

Requirements

  • Terraform (works with 0.15.x)
  • Go (works with 1.16) (to build the provider plugin)
  • make

Developing the Provider

To compile the provider, run make build. This will build the provider.

$ make build
$ ./terraform-provider-dyn
...

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.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc

In order to install the provider locally, run make install. Terraform documentation can be generated using make docs.

Terraform resources are in dyn/.

Originally the provider uses go-dynect package, but it misses some features for our needs. As this is an old project, we just embbeded it in this repository, but it may be moved in it's own repository again in the future.

About test coverage

This fork does not add tests, every resource has been tested manually.

To our knowledge, there is not dynect sandbox API to make good integration tests. We only kept original acceptance tests.

A good improvement could be to add a mock HTTP server to add tests to this provider.

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.