No description
  • Go 94.7%
  • HTML 3.5%
  • Shell 1.1%
  • Makefile 0.7%
Find a file
2020-07-27 16:59:06 +01:00
apiClient [BUG]r/turbot_profile: terraform plan shows a update/diff on profile argument after first successful run. Closes #78 (#79) 2020-07-27 16:59:06 +01:00
helpers [Fix]: GraphQL client failed to handle HTTP status codes #54 (#61) 2020-07-15 14:26:57 +01:00
scripts everything has tags - need tests 2019-09-25 21:15:34 +05:30
turbot [BUG]r/turbot_profile: terraform plan shows a update/diff on profile argument after first successful run. Closes #78 (#79) 2020-07-27 16:59:06 +01:00
vendor Add vendor folder to git. Closes #181 2019-12-11 13:47:13 +00:00
website [BUG]r/turbot_profile: terraform plan shows a update/diff on profile argument after first successful run. Closes #78 (#79) 2020-07-27 16:59:06 +01:00
.gitignore Add vendor folder to git. Closes #181 2019-12-11 13:47:13 +00:00
.go-version Update .go-version 2020-04-21 11:12:34 -07:00
.hashibot.hcl add hashiBot to track Issues released & lock them. closes#142 (#148) 2019-11-21 16:45:33 +05:30
.travis.yml [BUG]Fix read operations to support tags. Closes #24 2020-07-02 14:48:17 +01:00
build.sh everything has tags - need tests 2019-09-25 21:15:34 +05:30
CHANGELOG.md Cleanup after v1.6.0 release 2020-07-20 14:29:54 +00:00
GNUmakefile add -parallel flag to reduce parallel execution of acceptance tests (#18) 2020-05-20 10:47:01 +01:00
go.mod Display friendly messages for http errors. #54 (#58) 2020-07-15 11:21:35 +01:00
go.sum [Fix]: GraphQL client failed to handle HTTP status codes. Closes #54 (#55) 2020-07-14 09:51:15 +01:00
installation.md Fix resource_turbot_mod acceptance test. Closes #22 2020-01-16 17:32:48 +00:00
LICENSE add License in provider. closes #139 2019-12-16 22:13:55 +05:30
main.go Initial commit 2019-09-06 20:39:23 +01:00
README.md fix copy paste typo (#39) 2020-03-02 19:20:54 +08:00

Terraform Provider

Requirements

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

Building The Provider

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

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

Enter the provider directory and build the provider

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

Using the provider

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.

Further usage documentation is available on the Terraform website.

Developing the Provider

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

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