# terraform-provider-softlayer

## Install

```
$ go get github.com/softlayer/terraform-provider-softlayer
```

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](docs/).

## Development

### Setup

Make sure you have your [_$GOPATH_ environment variable set](https://golang.org/doc/code.html#GOPATH).

_$GOPATH/bin_ should also be in your _$PATH_ (e.g. `export PATH=$GOPATH/bin:PATH`).

Now you need to get the main dependencies.

To get _softlayer-go_:

```
go get github.com/softlayer/softlayer-go/...
```

To get _terraform_:

```
go get github.com/hashicorp/terraform
```

### Build

```
make bin
```

### Test

```
make test
```

### Updating dependencies

We are using [govendor](https://github.com/kardianos/govendor) to manage dependencies just like Terraform. Please see its documentation for additional help.

# terraform-provider-softlayer

## Install

```
$ go get -u github.com/softlayer/terraform-provider-softlayer
```

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](docs/).

## Development

### Setup

Make sure you have your [_$GOPATH_ environment variable set](https://golang.org/doc/code.html#GOPATH).

_$GOPATH/bin_ should also be in your _$PATH_ (e.g. `export PATH=$GOPATH/bin:PATH`).

Now you need to get the main dependencies.

To get _softlayer-go_:

```
go get github.com/softlayer/softlayer-go/...
```

To get _terraform_:

```
go get github.com/hashicorp/terraform
```

### Build

```
make bin
```

### Test

```
make test
```

### Updating dependencies

We are using [govendor](https://github.com/kardianos/govendor) to manage dependencies just like Terraform. Please see its documentation for additional help.

Add update flag to installation command
Add update flag to installation command
