Giter VIP home page Giter VIP logo

terraform-provider-jxadmin's Introduction

A Jenkins X provider for Terraform

This is a work in progress and should definitely not be considered stable!

To build

mkdir -p $GOPATH/src/github.com/jenkins-x
cd $GOPATH/src/github.com/jenkins-x
git clone https://github.com/jenkins-x/terraform-provider-jxadmin
cd terraform-provider-jxadmin
make build
mkdir -p ~/.terraform.d/plugins/github.com/jenkins-x/jxadmin/9.9.9/darwin_amd64
ln -s $GOPATH/bin/terraform-provider-jxadmin ~/.terraform.d/plugins/github.com/jenkins-x/jxadmin/9.9.9/darwin_amd64

When developing locally override the location terraform init needs to use:

vi ~/.terraformrc

provider_installation {
  filesystem_mirror {
    path = "~/.terraform.d/plugins"
    include = ["github.com/jenkins-x/*"]
  }
  direct {
    exclude = ["github.com/jenkins-x/*"]
  }
}

To check that the provider is installed correctly

terraform init

You should see an output like...

$ terraform init

Initializing provider plugins...

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

Check that the plugin works by running a terraform plan

$ terraform plan

Rapid development to build local plugin, terraform init, plan and apply with auto approve

$ make dev

terraform-provider-jxadmin's People

Contributors

garethjevans avatar jstrachan avatar rawlingsj avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.