A basic Terraform provider for Aviatrix. Read this tutorial as an alternative to the README.
- Install Terraform 0.10.x
- Install Go 1.8 (This will be used to build the provider plugin.)
- Create a directory, go, follow this doc to edit ~/.bash_profile to setup GOPATH)
Clone repository to: $GOPATH/src/github.com/terraform-providers/terraform-provider-aviatrix
$ mkdir -p $GOPATH/src/github.com/terraform-providers
$ cd $GOPATH/src/github.com/terraform-providers
$ git clone https://github.com/AviatrixSystems/terraform-provider-aviatrix
Enter the provider directory and build the provider
$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-aviatrix
$ make fmt
$ make build
Activate the provider by adding the following to ~/.terraformrc
providers {
"aviatrix" = "$GOPATH/bin/terraform-provider-aviatrix"
}
Check examples here.