terraform-provider-sumologic

command module
v0.0.0-...-92f281c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 17, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

README

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
---------------------------------------------------------------------------- *** AUTO GENERATED CODE *** AUTO GENERATED CODE *** ---------------------------------------------------------------------------- This file is automatically generated by Sumo Logic and manual changes will be clobbered when the file is regenerated.
---------------------------------------------------------------------------- *** AUTO GENERATED CODE *** AUTO GENERATED CODE *** ---------------------------------------------------------------------------- This file is automatically generated by Sumo Logic and manual changes will be clobbered when the file is regenerated.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL