Skip to content

Commit d799b2f

Browse files
committed
Initial Commit
1 parent 225ff3b commit d799b2f

File tree

1 file changed

+10
-38
lines changed

1 file changed

+10
-38
lines changed

README.md

Lines changed: 10 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# terraform-sumologic-integrations
22

3-
Configure Sumo Logic Applications using Terraform modules.
3+
Configure Sumo Logic Applications and Connections using Terraform modules.
4+
The modules configure/create the following resources:
5+
- A source under the specified collector for the integration in Sumo Logic.
6+
- App dashboards in the specified folder.
7+
- Webhook configurations in JIRA, Bitbucket or other chosen systems.
48

59
## Getting Started
610

711
#### Requirements
812

9-
* [Terraform 0.12.26+](https://www.terraform.io/downloads.html)
13+
* [Terraform 0.13+](https://www.terraform.io/downloads.html)
1014
* [curl](https://curl.haxx.se/download.html) for App installations.
1115

1216
#### Sumo Logic Provider
@@ -22,9 +26,7 @@ You can also define these values in `terraform.tfvars`.
2226

2327
#### REST Api Provider
2428

25-
Two REST API provider configurations are required by these modules:
26-
27-
1. Sumo Logic REST Api provider configuration is required for App installations and is needed for all integrations involving App configuration and installation:
29+
Sumo Logic REST Api provider configuration is required for App installations and is needed for all integrations involving App configuration and installation:
2830

2931
```shell
3032
provider "restapi" {
@@ -38,22 +40,10 @@ provider "restapi" {
3840
```
3941
You can also define these values in `terraform.tfvars`.
4042
41-
2. Opsgenie REST Api provider configuration is required for configuring webhooks in Opsgenie and is needed for Opsgenie integration configuration:
42-
43-
```shell
44-
provider "restapi" {
45-
alias = "opsgenie"
46-
uri = "https://api.opsgenie.com"
47-
write_returns_object = true
48-
headers = { Content-Type = "application/json", Authorization = "GenieKey <OPSGENIE KEY>" }
49-
}
50-
```
51-
You can also define these values in `terraform.tfvars`.
52-
5343
#### Prerequisites for using Modules
5444
55-
All App integrations needs a collector and a folder where the App should be installed.
56-
Sumo Logic Webhooks do not need a collector or folder.
45+
All App integrations need a collector and a folder where the App should be installed.
46+
Sumo Logic Connections do not need a collector or folder.
5747
5848
Configure the collector resource as below:
5949
@@ -80,25 +70,7 @@ resource "sumologic_folder" "folder" {
8070
8171
In the module declaration, pass the folder id as `sumologic_folder.folder.id`.
8272
83-
#### Module Declaration
84-
85-
##### Opsgenie
86-
87-
```shell
88-
module "sumologic-jira-opsgenie-app" {
89-
source = "github.com/SumoLogic/sumologic-terraform-integrations//atlassian/cloud/opsgenie"
90-
providers = {
91-
restapi = restapi.opsgenie
92-
}
93-
sumo_access_id = "<SUMOLOGIC ACCESS ID>"
94-
sumo_access_key = "<SUMOLOGIC ACCESS KEY>"
95-
sumo_api_endpoint = "<SUMOLOGIC ENDPOINT URI>"
96-
collector_id = sumologic_collector.atlassian_collector.id
97-
source_category = "Atlassian/Opsgenie"
98-
folder_id = sumologic_folder.folder.id
99-
# version = "{revision}"
100-
}
101-
```
73+
#### Module Declaration Example
10274
10375
##### Jira Cloud
10476

0 commit comments

Comments
 (0)