fia5000 / terraform-provider-softlayer

a Terraform (http://terraform.io) provider for interacting with SoftLayer (https://www.softlayer.com)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

terraform-provider-softlayer

Chat on gitter Build Status

Install

Download the binary of the provider.

Create or edit this file to specify the location of the terraform softlayer provider binary:

# ~/.terraformrc
providers {
    softlayer = "/path/to/bin/terraform-provider-softlayer"
}

Documentation

Go to the documentation directory.

Development

Setup

  1. Ensure you have a $GOPATH environment variable set.
  2. Ensure you have $GOPATH/bin in your $PATH (e.g. export PATH=$GOPATH/bin:PATH).
  3. Install terraform-provider-softlayer.
$ go get -u github.com/softlayer/terraform-provider-softlayer
  1. Get the main dependency:
$ go get github.com/hashicorp/terraform

The project will exist at $GOPATH/src/github.com/softlayer/terraform-provider-softlayer.

Build

make bin

Test

make

To run the acceptance tests (warning: Requires a SoftLayer account and resources will be provisioned):

make testacc

Updating dependencies

We are using govendor to manage dependencies just like Terraform. Please see its documentation for additional help.

About

a Terraform (http://terraform.io) provider for interacting with SoftLayer (https://www.softlayer.com)

License:Mozilla Public License 2.0


Languages

Language:Go 96.8%Language:Shell 1.5%Language:HCL 1.4%Language:Makefile 0.3%