terraform-provider-openshift

command module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 18, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

README

Terraform Provider for Openshift

Requirements

Building the provider

Clone repository to: $GOPATH/src/github.com/llomgui/terraform-provider-openshift

$ mkdir -p $GOPATH/src/github.com/llomgui; cd $GOPATH/src/github.com/llomgui
$ git clone git@github.com:llomgui/terraform-provider-openshift

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/llomgui/terraform-provider-openshift
$ make build

Developing the provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.14+ is required). You can use goenv to manage your Go version. 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 and put the provider binary in the $GOPATH/bin directory.

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

Using the provider

If you're 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.

Provider Documents

Currently the documents for this provider is not hosted by the official site Terraform Providers. Please enter the provider directory and build the website locally.

$ make website

The commands above will start a docker-based web server powered by Middleman, which hosts the documents in website directory. Simply open http://localhost:4567/docs/providers/openshift and enjoy them.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL