Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.14 KB

README.md

File metadata and controls

39 lines (30 loc) · 1.14 KB

Terraform Provider

A basic Terraform provider for Aviatrix.

Requirements

  • Terraform 0.10.x
  • Go 1.8 (This will be used to build the provider plugin. Check this doc to setup GOPATH)

Building The Provider

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

$ mkdir -p $GOPATH/src/github.com/terraform-providers; cd $GOPATH/src/github.com/terraform-providers
$ git clone [email protected]:terraform-providers/terraform-provider-$PROVIDER_NAME

Enter the provider directory and build the provider

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

Using Aviatrix Provider

Activate the provider by adding the following to ~/.terraformrc

providers {
  "aviatrix" = "/YOUR_GOPATH/bin/terraform-provider-aviatrix"
}

Examples

Check examples here.