SumoLogic / Terraform Provider Sumologic Old
Programming Languages
Projects that are alternatives of or similar to Terraform Provider Sumologic Old
terraform-provider-sumologic
The latest version of the Sumo Logic provider will be automatically installed by running terraform init
.
This repo is now archived and will soon be deprecated. Please refer to the new repo located at https://github.com/terraform-providers/terraform-provider-sumologic
Support
The code in this repository has been developed in collaboration with the Sumo Logic community and is not supported via standard Sumo Logic Support channels. For any issues or questions please submit an issue within the GitHub repository. The maintainers of this project will work directly with the community to answer any questions, address bugs, or review any requests for new features.
License
Released under Mozilla Public License 2.0.
Getting started / usage
See docs
Requirements
- Terraform 0.11.x or 0.12.x
- Go >= 1.13 (to build the provider plugin)
- Sumo Logic
Using the provider
To use the provider run make install
in the root direcory to install it as a plugin. You can then run terraform init
to initialize it.
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 [email protected]:SumoLogic/sumologic-terraform-provider.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/sumologic-terraform-provider
$ make build
Testing the provider
In order to test the provider, you can run 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. The environment variables SUMOLOGIC_ACCESSID
, SUMOLOGIC_ACCESSKEY
, and SUMOLOGIC_ENVIRONMENT
must also be set for acceptance tests to work properly.