Skip to content
Rollbar provider for terraform.
Branch: master
Clone or download
jtsaito Merge pull request #10 from babbel/correct-create-error-case
Correct error on create: return nil for empty data sources
Latest commit 47278dd Jun 3, 2019

Terraform Provider


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

Building The Provider

Clone repository outside your Go path (not to $GOPATH/src/ or set GO111MODULE=on (cf. Go module documenation).

$ git clone

Enter the directory and build the provider

$ make build-darwin


$ make build-linux

Using the provider

provider "rollbar" {
  api_key = "${var.api_key}"

resource "rollbar_user" "test" {
  team_id = 333290
  email   = ""

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11.x+ is required).

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

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

$ make test

We cannot have the acceptance tests until rollbar changes/improves their api. The reason is because creating an invitation doesn't yield an userid. A user id is created when a user accepts their invitation.

Github Releases

In order to push a release to Github the feature branch has to merged into master and then a tag needs to be created with the version name of the provider e.g. v0.0.1 and pushed.

git checkout master
git pull origin master
git tag v<semver> -m "release comment"
git push origin master --tags
You can’t perform that action at this time.