GithubHelp home page GithubHelp logo

agouil / terraform-provider-oryhydra Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hypnoglow/terraform-provider-oryhydra

0.0 1.0 0.0 228 KB

๐Ÿ” Terraform Provider for ORY Hydra

Home Page: https://registry.terraform.io/providers/hypnoglow/oryhydra/latest

License: Apache License 2.0

Go 97.30% Makefile 2.70%

terraform-provider-oryhydra's Introduction

ORY Hydra Terraform Provider

main release Go Report Card

Terraform provider for ORY Hydra.

Using the provider

The provider is published to the Terraform Registry. Terraform v0.13.0+ supports automatic provider installation from the Terraform Registry. If you run older versions of terraform, you will have to install the provider manually.

To install this provider, add it into your Terraform configuration. Then, run terraform init.

terraform {
  required_providers {
    oryhydra = {
      source = "hypnoglow/oryhydra"
      version = "0.4.0"
    }
  }
}

provider "oryhydra" {}

To configure the provider, define the url argument:

provider "oryhydra" {
  url = "https://admin.hydra.example.tld"
}

Alternatively you can set ORY_HYDRA_URL environment variable.

Refer to documentation for available resources reference.

Examples can be found in examples directory.

Developing the Provider

This section explains how to build the provider and test it out on the example.

First of all you need to build the provider and link it to the examples:

make build
make prepare-examples

To test examples, you need a running Hydra instance. For demonstrational purposes, we can run Hydra locally as a Docker container:

docker container run -i -t --rm --name hydra \
  -p 4444:4444 \
  -p 4445:4445 \
  -e LOG_LEVEL=debug \
  -e DSN=memory \
  oryd/hydra:v1.4.10 serve all --dangerous-force-http

Then you can simply run examples as usual terraform project. Enter a particular example directory (e.g. cd examples/oryhydra_oauth2_client) and run:

terraform init

terraform plan

terraform apply

Test release

Releases managed by GoReleaser.

Run goreleaser locally:

goreleaser release --config .github/goreleaser.yaml --rm-dist --skip-publish --skip-validate

terraform-provider-oryhydra's People

Contributors

dependabot[bot] avatar hypnoglow avatar littldr avatar

Watchers

 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.