Skip to content

nsofnetworks/terraform-provider-metanetworks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform Provider for Meta Networks

See the Meta Networks Provider documentation to get started using the provider.

Requirements

Building The Provider

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

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

Enter the provider directory and build the provider

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

Using the provider

Enter the provider directory and install the provider

$ cd $GOPATH/src/github.com/mataneine/terraform-provider-metanetworks
$ make install

If you're building the provider, follow the instructions to install it as a plugin. After placing it into your plugins directory, run terraform init to initialize it.

See the Meta Networks Provider documentation to get started using the provider.

Developing the Provider

Enter the provider directory.

$ cd $GOPATH/src/github.com/mataneine/terraform-provider-metanetworks

To compile the provider, run make build. This will build the provider and put the provider binary in the $GOPATH/src/github.com/mataneine/terraform-provider-metanetworks/bin directory.

$ make build

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