No description
  • Go 96.7%
  • HTML 1.4%
  • Makefile 1.1%
  • Shell 0.8%
Find a file
2020-07-17 18:48:21 +00:00
.github Update CODEOWNERS 2020-07-15 10:33:38 -07:00
scripts chmod changeloglinks 2020-04-09 10:46:35 -07:00
sumologic remove ContinuousTargetOccurence 2020-07-13 20:14:23 -07:00
travis change travis to run only make test on pr build 2019-11-05 14:56:27 -08:00
vendor fix vendor 2020-04-30 13:22:54 -07:00
website Merge pull request #47 from bendrucker/job-state-change 2020-07-17 11:05:13 -07:00
.gitignore ignoring /dist directory 2018-10-10 10:37:24 -07:00
.go-version add go version 2020-04-09 10:39:42 -07:00
.goreleaser.yml update binary name 2018-11-12 13:24:07 -07:00
.travis.yml now that we have vendor make the travis builds use it 2020-02-12 16:11:20 -08:00
CHANGELOG.md Cleanup after v2.1.1 release 2020-07-17 18:48:21 +00:00
GNUmakefile rename DIR -> PLUGIN_DIR 2020-02-20 14:34:00 -08:00
go.mod make role name random in test 2020-04-30 12:25:55 -07:00
go.sum forcing new resource on update, and fix json equivalency code 2020-05-16 08:38:23 -07:00
LICENSE change license from apache to mozilla 2020-02-10 13:09:46 -08:00
main.go update repo name 2020-04-09 09:16:57 -07:00
README.md Update README.md 2020-05-27 12:48:53 -07:00
tsconfig.json initial commit 2018-08-02 16:27:06 -06:00

Terraform logo

Terraform Provider for Sumo Logic

The Terraform Sumo Logic provider is a plugin for Terraform that allows for the full lifecycle management of Sumo Logic resources.

This provider is maintained by Sumo Logic.

Getting started

Using the provider

Run terraform init to automatically install the latest version of the provider.

Requirements

Developing the provider

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

Clone repository to: $GOPATH/src/SumoLogic/sumologic-terraform-provider

$ mkdir -p $GOPATH/src/SumoLogic;
$ cd $GOPATH/src/SumoLogic
$ git clone https://github.com/terraform-providers/terraform-provider-sumologic.git

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

$ cd $GOPATH/src/SumoLogic/terraform-provider-sumologic
$ make build

Testing the provider

In order to test the provider, you can run make test.

For manual testing, run make install in the root direcory to install it as a plugin. Then run terraform init to initialize it.

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. The environment variables SUMOLOGIC_ACCESSID, SUMOLOGIC_ACCESSKEY, and SUMOLOGIC_ENVIRONMENT must also be set for acceptance tests to work properly.