Skip to content
Terraform Selectel provider
Go HTML Makefile Shell
Branch: master
Clone or download
tf-release-bot TeamCity
tf-release-bot and TeamCity Cleanup after v2.3.0 release
Latest commit 96d1ffe Jul 9, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Provider renaming: update .github directory Jan 30, 2019
examples/project-with-floating-ips Terraform v0.12 (#50) Mar 14, 2019
scripts Scripts: rename provider in changelog-links.sh (#62) Jul 9, 2019
selectel Remove custom hashQuotas() for project quotas arg (#64) Jul 9, 2019
vendor Terraform: upgrade to v0.12.2 SDK (#61) Jul 9, 2019
website Terraform v0.12 (#50) Mar 14, 2019
.gitignore Gitignore: add .idea (#56) May 23, 2019
.golangci.yml CI: use GolangCI-Lint (#13) Dec 7, 2018
.travis.yml Update Go, Terraform and GolangCI-Lint versions (#63) Jul 9, 2019
CHANGELOG.md
GNUmakefile Cleanup Travis and GNUmakefile files (#49) Feb 15, 2019
LICENSE Initial commit Apr 30, 2018
README.md Update Go, Terraform and GolangCI-Lint versions (#63) Jul 9, 2019
go.mod Terraform: upgrade to v0.12.2 SDK (#61) Jul 9, 2019
go.sum Terraform: upgrade to v0.12.2 SDK (#61) Jul 9, 2019
main.go Provider renaming: update basic files Jan 30, 2019

README.md

Terraform Selectel Provider

Maintainers

This provider plugin is maintained by:

Requirements

  • Terraform 0.12.x
  • Go 1.12 (to build the provider plugin)

Building The Provider

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

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

Enter the provider directory and build the provider

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

Using the provider

Documentation is available at: docs/providers/selectel.
You can find examples in this repository: examples.
Also there are lots of examples in the selectel/terraform-examples.

Developing the Provider

If you wish to work on the provider, you'll first need Go installed on your machine (version 1.12+ 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-$PROVIDER_NAME
...

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
You can’t perform that action at this time.