No description
  • Go 99.5%
  • HTML 0.3%
  • Makefile 0.1%
  • Shell 0.1%
Find a file
2020-10-08 12:49:59 +03:00
.github Make CoC and support channels more visible 2017-11-01 23:06:18 +01:00
scripts Fix Changelog Links Script for spotinst provider 2017-06-26 14:00:36 -04:00
spotinst re-format the imports 2020-10-07 15:02:32 +03:00
vendor changes from PR 2020-10-05 16:35:21 +03:00
version changes from PR 2020-10-05 16:35:21 +03:00
website fix(website): fix a broken link 2020-10-08 12:46:33 +03:00
.gitignore Updating Makefile + Add gitignore 2017-06-06 16:29:49 -04:00
.travis.yml refactor(*): migrate to the standalone sdk (terraform-plugin-sdk) 2019-12-12 14:28:51 +02:00
CHANGELOG.md fix(website): fix a broken link 2020-10-08 12:46:33 +03:00
GNUmakefile Release v1.17.0 (#86) 2020-06-08 12:53:59 +03:00
go.mod * *New Resource*: elastigroup_aws_suspend_processes 2020-10-01 15:37:24 +03:00
go.sum * *New Resource*: elastigroup_aws_suspend_processes 2020-10-01 15:37:24 +03:00
LICENSE initial commit 2017-06-05 20:54:12 +00:00
main.go refactor(*): migrate to the standalone sdk (terraform-plugin-sdk) 2019-12-12 14:28:51 +02:00
README.md refactor(*): migrate to the standalone sdk (terraform-plugin-sdk) 2019-12-12 14:28:51 +02:00
tools.go Release v1.17.0 (#86) 2020-06-08 12:53:59 +03:00

Terraform Provider

Requirements

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

Building The Provider

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

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

Enter the provider directory and build the provider

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

Using the provider

Fill in for each 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 bin
...
$ $GOPATH/bin/terraform-provider-spotinst
...

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