Skip to content
Terraform Vultr provider
Go HTML Other
Branch: master
Clone or download
Latest commit 1780260 Nov 9, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Update Jul 22, 2019
scripts add required script Oct 24, 2019
vendor updated govultr and ran go mod tidy Oct 16, 2019
vultr adjusting backup test Oct 17, 2019
website updated docs to have required on fields Oct 15, 2019
.gitignore example terraform May 29, 2019
.travis.yml travis May 28, 2019 Cleanup after v1.0.5 release Oct 24, 2019
GNUmakefile add website folder and Makefile targets Aug 19, 2019
LICENSE Create LICENSE Aug 16, 2019 Fix link to documentation in README Aug 22, 2019
go.mod fixed go module name Nov 6, 2019
go.sum updated govultr and ran go mod tidy Oct 16, 2019

Terraform Provider for Vultr


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

Building The Provider

Clone repository to: $GOPATH/src/

$ mkdir -p $GOPATH/src/; cd $GOPATH/src/
$ git clone

Enter the provider directory and build the provider

$ cd $GOPATH/src/
$ make build

Link the build to Terraform

$ln -s $GOPATH/bin/terraform-provider-vultr ~/.terraform.d/plugins/terraform-provider-vultr 

Using the provider

See the Vultr Provider documentation to get started using the Vultr provider.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.11+ is required). You'll also need to correctly setup a GOPATH, as well as adding $GOPATH/bin to your $PATH.

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

$ make build
$ $GOPATH/bin/terraform-provider-vultr

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

In order to run a specific acceptance test, use the TESTARGS environment variable. For example, the following command will run TestAccVultrUser_base acceptance test only:

$ make testacc TESTARGS='-run=TestAccVultrUser_base'
You can’t perform that action at this time.