Skip to content

Commit 7cbb1ea

Browse files
authored
Merge pull request #114 from SumoLogic/ssain-terraform-docs
moving the docs to the terraform.io format
2 parents 55dbd93 + 6dc4b35 commit 7cbb1ea

15 files changed

+161
-12
lines changed
File renamed without changes.

docs/d/sumologic_caller_identity.md renamed to website/docs/d/caller_identity.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_caller_identity"
4+
description: |-
5+
Provides an easy way to retrieve Sumo Logic auth details.
6+
---
7+
18
# sumologic_caller_identity
29
Provides an easy way to retrieve Sumo Logic auth details.
310

docs/d/sumologic_collector.md renamed to website/docs/d/collector.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_collector"
4+
description: |-
5+
Provides a way to retrieve Sumo Logic collector details (id, names, etc) for a collector managed by another terraform stack.
6+
---
7+
18
# sumologic_collector
29

310
Provides a way to retrieve Sumo Logic collector details (id, names, etc) for a collector

docs/sumologic-provider.md renamed to website/docs/index.html.markdown

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,16 @@
1-
# Sumologic Provider
2-
This provider is used to manage collectors and sources supported by Sumologic. The provider needs to be configured with the proper credentials before it can be used.
1+
---
2+
layout: "sumologic"
3+
page_title: "Provider: SumoLogic"
4+
description: |-
5+
This provider is used to manage resources supported by Sumo Logic.
6+
---
7+
8+
# Sumo Logic Provider
9+
This provider is used to manage resources supported by Sumo Logic. The provider needs to be configured with the proper credentials before it can be used.
310

411
## Example Usage
512
```hcl
6-
# Configure the Sumologic Provider
13+
# Configure the Sumo Logic Provider
714
provider "sumologic" {
815
access_id = "${var.sumologic_access_id}"
916
access_key = "${var.sumologic_access_key}"
@@ -62,16 +69,11 @@ provider "sumologic" { }
6269
```bash
6370
$ export SUMOLOGIC_ACCESSID="your-access-id"
6471
$ export SUMOLOGIC_ACCESSKEY="your-access-key"
72+
$ export SUMOLOGIC_ENVIRONMENT=us2
6573
$ terraform plan
6674
```
6775

6876
## Argument Reference
69-
- `access_id` - (Optional) This is the Sumo Logic Access ID. It must be provided, but it can also be source from the SUMOLOGIC_ACCESSID environment variable.
70-
- `access_key` - (Optional) This is the Sumo Logic Access Key. It must be provided, but it can also be sourced from the SUMOLOGIC_ACCESSKEY variable.
71-
- `environment` - (Optional) This is the API endpoint to use. Default is `us2`. See the [Sumo Logic documentation][1] for details on which environment you should use. This value can also be source from the SUMOLOGIC_ENVIRONMENT variable.
72-
- `base_url` - (Optional) This is the API endpoint base URL to use. You can specify that instead of the environment. It can also be sourced from SUMOLOGIC_BASE_URL environment variable.
73-
74-
[Back to Index][0]
75-
76-
[0]: README.md
77-
[1]: https://help.sumologic.com/APIs/General_API_Information/Sumo_Logic_Endpoints_and_Firewall_Security
77+
- `access_id` - (Required) This is the Sumo Logic Access ID. It must be provided, but it can also be source from the SUMOLOGIC_ACCESSID environment variable.
78+
- `access_key` - (Required) This is the Sumo Logic Access Key. It must be provided, but it can also be sourced from the SUMOLOGIC_ACCESSKEY variable.
79+
- `environment` - (Required) This is the API endpoint to use. See the [Sumo Logic documentation](https://help.sumologic.com/APIs/General_API_Information/Sumo_Logic_Endpoints_and_Firewall_Security) for details on which environment you should use. It must be provided, but it can be sourced from the SUMOLOGIC_ENVIRONMENT variable.

docs/r/sumologic_cloudsyslog_source.md renamed to website/docs/r/cloudsyslog_source.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_cloudsyslog_source"
4+
description: |-
5+
Provides a Sumo Logic Cloud Syslog source.
6+
---
7+
18
# sumologic_cloudsyslog_source
29

310
Provides a [Sumo Logic Cloud Syslog source][1].

docs/r/sumologic_collector.md renamed to website/docs/r/collector.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_collector"
4+
description: |-
5+
Provides a Sumologic (Hosted) Collector.
6+
---
7+
18
# sumologic_collector
29
Provides a [Sumologic (Hosted) Collector][1].
310

docs/r/sumologic_collector_ingest_budget_assignment.md renamed to website/docs/r/collector_ingest_budget_assignment.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_collector_ingest_budget_assignment"
4+
description: |-
5+
Assigns a Sumologic Collector to a Sumologic Ingest Budget.
6+
---
7+
18
# sumologic_collector_ingest_budget_assignment
29
Assigns a [Sumologic Collector][1] to a [Sumologic Ingest Budget][2].
310

docs/r/sumologic_folder.md renamed to website/docs/r/folder.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_folder"
4+
description: |-
5+
Provides the ability to create, read, delete, update, and manage of folders.
6+
---
7+
18
# sumologic_folder
29
Provides the ability to create, read, delete, update, and manage of folders.
310

docs/r/sumologic_http_source.md renamed to website/docs/r/http_source.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_http_source"
4+
description: |-
5+
Provides a Sumologic HTTP source
6+
---
7+
18
# sumologic_http_source
29
Provides a [Sumologic HTTP source][1].
310

docs/r/sumologic_ingest_budget.md renamed to website/docs/r/ingest_budget.html.markdown

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
---
2+
layout: "sumologic"
3+
page_title: "SumoLogic: sumologic_ingest_budget"
4+
description: |-
5+
Provides a Sumologic Ingest Budget
6+
---
7+
18
# sumologic_ingest_budget
29
Provides a [Sumologic Ingest Budget][1].
310

0 commit comments

Comments
 (0)