Skip to content

erikvanbrakel/terraform-provider-victorops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

terraform-provider-victorops

Build Status

Terraform provider for https://victorops.com

Building the provider

In this section you will learn how to build and run terraform-provider-victorops locally. Please follow the steps below:

Requirements

  • Terraform 0.9.x
  • Go 1.9 (to build the provider plugin)
  • VictorOps Must have an account to be able to get api id and key.

Setting your environment

Create the couple environment variables below:

$GOROOT = $HOME/go

$GOPATH = $GOROOT/bin

The GOPATH can be set wherever you want but please read this topic to understand how they work.

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

Installation

Download the binary for your platform and architecture from the releases page. Unpack the zip, and place the terraform-provider-victorops binary in the same directory as terraform binary or add a .terraformrc file with the provider stanza:

providers {
  victorops = "/PATH/TO/MODULE/ARCH/terraform-provider-victorops"
}

Usage

See the documentation.