Terraform Brightbox Cloud provider
Branch: master
Clone or download
NeilW Update README.md
Remove dep requirement
Latest commit eda084a Feb 22, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
brightbox Remove redundant slice pointers Feb 22, 2019
examples Fix weblayer example Jul 13, 2018
scripts Move release script to scripts Jul 10, 2018
vendor Update vendor Feb 22, 2019
website Simplify description and add link to Brightbox homepage. Dec 3, 2018
.gitignore Update vendor Feb 22, 2019
.goreleaser.yml Ensure static binaries Jan 15, 2018
.travis.yml provider: Require Go 1.11 in TravisCI and README Jan 8, 2019
CHANGELOG.md Cleanup after v1.0.5 release Aug 1, 2018
GNUmakefile Standardise Makefile and Travis config Jul 13, 2018
LICENSE Update for Terraform 0.10 Aug 18, 2017
README.md
go.mod Update to go modules Feb 22, 2019
go.sum Update to go modules Feb 22, 2019
main.go updates for provider release Jul 31, 2018

README.md

Terraform Provider for Brightbox Cloud

Requirements

  • Terraform 0.11.x
  • Go 1.11 (to build the provider plugin)

Usage

# For example, restrict brightbox version to 1.x.x
provider "brightbox" {
  version = "~> 1.0"
}

Building The Provider

Clone repository to: $GOPATH/src/github.com/brightbox/terraform-provider-brightbox

$ mkdir -p $GOPATH/src/github.com/brightbox; cd $GOPATH/src/github.com/brightbox
$ git clone git@github.com:brightbox/terraform-provider-brightbox

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/brightbox/terraform-provider-brightbox
$ make build

Using the provider

This version supports managing:

Documentation

The announcement blog post gives a good overview:

https://www.brightbox.com/blog/2016/05/13/terraforming-brightbox-cloud/

And the getting started guide goes into more detail on how to use it

https://www.brightbox.com/docs/guides/terraform/getting-started/

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/bin directory.

$ make bin
...
$ $GOPATH/bin/terraform-provider-brightbox
...

In order to test the provider, you can simply run make test.

$ make test

In order to run the full suite of Acceptance tests, run make testacc.

Note: Acceptance tests create real resources, and often cost money to run.

$ make testacc