https://github.com/softlayer/terraform-provider-softlayer
a Terraform (http://terraform.io) provider for interacting with SoftLayer (https://www.softlayer.com)
https://github.com/softlayer/terraform-provider-softlayer
Last synced: 6 months ago
JSON representation
a Terraform (http://terraform.io) provider for interacting with SoftLayer (https://www.softlayer.com)
- Host: GitHub
- URL: https://github.com/softlayer/terraform-provider-softlayer
- Owner: softlayer
- License: mpl-2.0
- Created: 2016-09-06T18:09:02.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2019-07-16T16:07:12.000Z (over 6 years ago)
- Last Synced: 2024-06-20T05:05:31.443Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 2.56 MB
- Stars: 41
- Watchers: 17
- Forks: 26
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# terraform-provider-softlayer
[](https://gitter.im/softlayer/terraform-provider-softlayer) [](https://travis-ci.org/softlayer/terraform-provider-softlayer)
**Deprecated**: Please refer to https://github.com/IBM-Cloud/terraform-provider-ibm
## Install
[Download the binary](https://github.com/softlayer/terraform-provider-softlayer/releases) 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](docs/).
## Development
### Setup
1. Ensure you have a [_$GOPATH_ environment variable set](https://golang.org/doc/code.html#GOPATH).
1. Ensure you have _$GOPATH/bin_ in your _$PATH_ (e.g. `export PATH=$GOPATH/bin:PATH`).
1. 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](https://github.com/kardianos/govendor) to manage dependencies just like Terraform. Please see its documentation for additional help.