No description
  • Go 97.8%
  • HTML 1.4%
  • Shell 0.4%
  • Makefile 0.4%
Find a file
2020-07-10 15:59:53 +02:00
.github doc: add contributing documentation (#448) 2020-04-10 14:53:25 +02:00
scaleway chore: prepare release (#517) 2020-06-29 19:07:22 +02:00
scripts Fix Changelog Links Script for scaleway provider 2017-06-26 14:00:27 -04:00
vendor test: fix broken tests (#511) 2020-06-29 13:37:49 +02:00
website doc(ip): fixed typo in example (#521) 2020-07-10 15:59:53 +02:00
.gitignore feat: update terraform SDK to 0.12.0 2019-05-27 09:29:23 +02:00
.go-version chore: update go version (#282) 2019-10-17 13:34:06 +02:00
.travis.yml feat(ci): migrate to bionic (#479) 2020-05-05 15:23:38 +02:00
CHANGELOG.md Cleanup after v1.16.0 release 2020-06-29 17:39:44 +00:00
GNUmakefile fix: concurency problem with volumes (#255) 2019-09-25 16:38:34 +02:00
go.mod test: fix broken tests (#511) 2020-06-29 13:37:49 +02:00
go.sum test: fix broken tests (#511) 2020-06-29 13:37:49 +02:00
LICENSE initial commit 2017-06-05 20:53:59 +00:00
main.go vendor: use new terraform plugin sdk (#327) 2019-11-19 12:01:59 +01:00
README.md doc(README): add link to provider doc (#490) 2020-06-01 20:00:53 +02:00

Scaleway Terraform Provider

Version 2 In Progress

We are actively working on the version 2. You can follow the progess here.

Requirements

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

Building The Provider

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

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

Enter the provider directory and build the provider

$ cd $GOPATH/src/github.com/terraform-providers/terraform-provider-scaleway
$ 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.13+ 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-scaleway
...

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