iplabs / terraform-provider-rancher2

Terraform provider plugin to manager Rancher 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED There is an official Terraform provider plugin which is maintained by Rancher Labs. Therefore, this project will no longer be carried on. → https://github.com/rancher/terraform-provider-rancher2

Terraform Provider

Requirements

  • Terraform 0.11.x
  • Go 1.11 (to build the provider plugin)

Building the Provider

Clone repository outside of your GOPATH.

# Clone the provider plugin sources
$ mkdir -p ~/Projects; cd ~/Projects
$ git clone git@github.com:iplabs/terraform-provider-rancher2

Enter the provider directory and build the provider

# Build the provider plugin
$ cd ~/Projects/terraform-provider-rancher2
$ make build
# Now make the plugin locally available
# OS represents your operating system (e.g. windows, darwin, linux) and
# ARCH represents your operating system's architecture (most likely: amd64)
$ cp $GOPATH/bin/terraform-provider-rancher2 ~/.terraform.d/plugins/${OS}_${ARCH}/

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.

About

Terraform provider plugin to manager Rancher 2

License:Mozilla Public License 2.0


Languages

Language:Go 97.6%Language:Makefile 2.4%