Coder Social home page Coder Social logo

cdb39 / terraform-provider-auth0 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexkappa/terraform-provider-auth0

0.0 0.0 0.0 12.02 MB

Auth0 Terraform Provider

Home Page: https://www.terraform.io/docs/providers/auth0/

License: Mozilla Public License 2.0

Go 95.47% HCL 2.80% Makefile 0.43% Shell 1.30%

terraform-provider-auth0's Introduction

Auth0 Terraform Provider

Build Maintainability Test Coverage Gitter

Sponsor

If you want to quickly implement a secure authentication flow with Terraform, create a free plan at auth0.com/developers.

Requirements

Using the provider

See the Auth0 Provider documentation to get started using the provider.

Building The Provider

Clone repository to: $GOPATH/src/github.com/alexkappa/terraform-provider-auth0

$ mkdir -p $GOPATH/src/github.com/alexkappa; cd $GOPATH/src/github.com/alexkappa
$ git clone [email protected]:alexkappa/terraform-provider-auth0

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/alexkappa/terraform-provider-auth0
$ make build

Developing the Provider

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

On how to develop custom terraform providers, read the official guide.

To compile the provider, run make build. This will build the provider and install the provider binary in the $GOPATH/bin directory.

$ make build
...
$ $GOPATH/bin/terraform-provider-auth0
...

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

$ make test

In order to run the full suite of Acceptance tests, the following environment variables must be set:

AUTH0_DOMAIN=<your-auth0-tenant-domain>
AUTH0_CLIENT_ID=<your-auth0-client-id>
AUTH0_CLIENT_SECRET=<your-auth0-client-secret>

Then, run make testacc.

Note: The acceptance tests make calls to a real Auth0 tenant, and create real resources. Certain tests, for example for custom domains (TestAccCustomDomain), also require a paid Auth0 subscription to be able to run successfully.

At the time of writing, the following configuration steps are also required for the test tenant:

  • The Username-Password-Authentication connection must have Requires Username option enabled for the user tests to successfully run.

Supporting the provider

This project is maintained by (@alexkappa) with contributions from great people across the community.

If you or your company relies on this plugin or the Go SDK and would like to ensure its continuing support please consider donating.

terraform-provider-auth0's People

Contributors

alexkappa avatar rkhoriander avatar mcalster avatar kgunbin avatar politician avatar cgriggs01 avatar relu avatar etwillbefine avatar edify42 avatar omar avatar rienafairefr avatar yinzara avatar mmindenhall avatar hypnoglow avatar abulford avatar yvovandoorn avatar phil-hachey avatar mhester-nutrien avatar mbfrahry avatar mat1g3r avatar kpurdon avatar fotos avatar dancrumb avatar squarebracket avatar smaant avatar ar3cka avatar djiit avatar larrymagic13 avatar tanmng avatar mdisibio 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.