Skip to content

softlayer/terraform-provider-softlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-softlayer

Chat on gitter Build Status

Deprecated: Please refer to https://github.com/IBM-Cloud/terraform-provider-ibm

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.