You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
4 years ago | |
---|---|---|
decort | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
main.go | 4 years ago |
README.md
terraform-provider-decort
Terraform provider for Digital Energy Cloud Orchestration Technology (DECORT)
NOTE: this provider is designed for DECORT API 3.5.x. For API versions prior to 3.5.x please use Terraform DECS provider (https://github.com/rudecs/terraform-provider-decs).
With this provider you can manage Computes and resource groups in DECORT platform, as well as query the platform for information about existing resources.
See user guide at https://github.com/rudecs/terraform-provider-decort/wiki
For a quick start follow these steps.
- Obtain the latest GO compiler. As of November 2019 it is recommended to use v.1.13.x but as new Terraform versions are released newer Go compiler may be required, so check official Terraform repository regularly for more information.
cd /tmp
wget https://dl.google.com/go/go1.13.3.linux-amd64.tar.gz
tar xvf ./go1.13.3.linux-amd64.tar.gz
sudo mv go /usr/local
# add the following environment variables' declaration to shell startup
export GOPATH=/opt/gopkg:~/
export GOROOT=/usr/local/go
export PATH=$PATH:$GOROOT/bin
- Clone Terraform Plugin SDK framework repository to $GOPKG/src/github.com/hashicorp/terraform
mkdir -p $GOPKG/src/github.com/hashicorp
cd $GOPKG/src/github.com/hashicorp
git clone https://github.com/hashicorp/terraform-plugin-sdk.git
- Clone jwt-go package repository to $GOPKG/src/github.com/dgrijalva/jwt-go:
mkdir -p $GOPKG/src/github.com/dgrijalva
cd $GOPKG/src/github.com/dgrijalva
git clone https://github.com/dgrijalva/jwt-go.git
- Clone terraform-decs-provider repository to $GOPKG/src/github.com/terraform-provider-decort
cd $GOPKG/src/github.com
git clone https://github.com/rudecs/terraform-provider-decort.git
- Build Terraform DECS provider:
cd $GOPKG/src/github.com/terraform-provider-decort
go build -o terraform-provider-decort