Skip to content

BSick7/terraform-provider-fortycloud

Repository files navigation

terraform-provider-fortycloud

Terraform provider for Forty Cloud

Usage

Provider Configuration

Provider information can be set up in a *.tf file or through environment variables.

provider "fortycloud" {
	access_key = "access_key"
	secret_key = "secret_key"
}
FORTYCLOUD_ACCESS_KEY = "access_key"
FORTYCLOUD_SECRET_KEY = "secret_key"

Install (download)

Download the binary for your platform from releases.

Install (build)

You will need go1.6 and terraform 0.6.16 to build.

Build

$ mkdir -p $GOPATH/src/github.com/BSick7
$ cd $GOPATH/src/github.com/BSick7
$ git clone git@github.com:BSick7/terraform-provider-fortycloud.git
$ make deps
$ make install

How to use

See examples directory for use cases.

Deploying to GitHub Releases

GITHUB_TOKEN environment variable must exist in CircleCI with public_repo and repo scope. Travis automates this, but we are using CircleCI.