You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[aws_caller_identity.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/caller_identity)| data source |
42
+
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
43
+
|[sumologic_caller_identity.current](https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs/data-sources/caller_identity)| data source |
26
44
27
45
## Inputs
28
46
29
47
| Name | Description | Type | Default | Required |
| collector\_details | Provide details for the Sumo Logic collector. If not provided, then defaults will be used. | <pre>object({<br> collector_name = string<br> description = string<br> fields = map(string)<br> })</pre> | <pre>{<br> "collector_name": "SumoLogic CloudWatch Metrics Collector <RandomID>",<br> "description": "This collector is created using Sumo Logic terraform AWS Cloudwatch metrics module to collect AWS cloudwatch metrics.",<br> "fields": {}<br>}</pre> | no |
32
-
| create\_collector | Provide "true" if you would like to create the Sumo Logic Collector. |`bool`| n/a | yes |
33
-
| source\_details | Provide details for the Sumo Logic Cloudwatch Metrics source. If not provided, then defaults will be used. | <pre>object({<br> source_name = string<br> source_category = string<br> collector_id = string<br> description = string<br> limit_to_regions = list(string)<br> limit_to_namespaces = list(string)<br> paused = bool<br> scan_interval = number<br> sumo_account_id = number<br> fields = map(string)<br> iam_details = object({<br> create_iam_role = bool<br> iam_role_arn = string<br> })<br> })</pre> | <pre>{<br> "collector_id": "",<br> "description": "This source is created using Sumo Logic terraform AWS CloudWatch Metrics module to collect AWS Cloudwatch metrics.",<br> "fields": {},<br> "iam_details": {<br> "create_iam_role": true,<br> "iam_role_arn": null<br> },<br> "limit_to_namespaces": [],<br> "limit_to_regions": [],<br> "paused": false,<br> "scan_interval": 300000,<br> "source_category": "Labs/aws/cloudwatch/metrics",<br> "source_name": "CloudWatch Metrics Source",<br> "sumo_account_id": 926226587429<br>}</pre> | no |
34
-
| sumologic\_organization\_id | Appears on the Account Overview page that displays information about your Sumo Logic organization. Used for IAM Role in Sumo Logic AWS Sources. |`string`| n/a | yes |
35
-
| wait\_for\_seconds | wait\_for\_seconds is used to delay sumo logic source creation. This helps persisting IAM role in AWS system.<br> Default value is 180 seconds.<br> If the AWS IAM role is created outside the module, the value can be decreased to 1 second. |`number`|`180`| no |
49
+
|<aname="input_collector_details"></a> [collector\_details](#input\_collector\_details)| Provide details for the Sumo Logic collector. If not provided, then defaults will be used. | <pre>object({<br> collector_name = string<br> description = string<br> fields = map(string)<br> })</pre> | <pre>{<br> "collector_name": "SumoLogic CloudWatch Metrics Collector <RandomID>",<br> "description": "This collector is created using Sumo Logic terraform AWS Cloudwatch metrics module to collect AWS cloudwatch metrics.",<br> "fields": {}<br>}</pre> | no |
50
+
|<aname="input_create_collector"></a> [create\_collector](#input\_create\_collector)| Provide "true" if you would like to create the Sumo Logic Collector. |`bool`| n/a | yes |
51
+
| <a name="input_source_details"></a> [source\_details](#input\_source\_details) | Provide details for the Sumo Logic Cloudwatch Metrics source. If not provided, then defaults will be used. | <pre>object({<br> source_name = string<br> source_category = string<br> collector_id = string<br> description = string<br> limit_to_regions = list(string)<br> limit_to_namespaces = list(string)<br> paused = bool<br> scan_interval = number<br> sumo_account_id = number<br> fields = map(string)<br> iam_details = object({<br> create_iam_role = bool<br> iam_role_arn = string<br> })<br> })</pre> | <pre>{<br> "collector_id": "",<br> "description": "This source is created using Sumo Logic terraform AWS CloudWatch Metrics module to collect AWS Cloudwatch metrics.",<br> "fields": {},<br> "iam_details": {<br> "create_iam_role": true,<br> "iam_role_arn": null<br> },<br> "limit_to_namespaces": [<br> "AWS/ApplicationELB",<br> "AWS/ApiGateway",<br> "AWS/DynamoDB",<br> "AWS/Lambda",<br> "AWS/RDS",<br> "AWS/ECS",<br> "AWS/ElastiCache",<br> "AWS/ELB",<br> "AWS/NetworkELB",<br> "AWS/SQS",<br> "AWS/SNS"<br> ],<br> "limit_to_regions": [<br> "us-east-1"<br> ],<br> "paused": false,<br> "scan_interval": 300000,<br> "source_category": "Labs/aws/cloudwatch/metrics",<br> "source_name": "CloudWatch Metrics Source",<br> "sumo_account_id": 926226587429<br>}</pre> | no |
52
+
|<aname="input_sumologic_organization_id"></a> [sumologic\_organization\_id](#input\_sumologic\_organization\_id)| Appears on the Account Overview page that displays information about your Sumo Logic organization. Used for IAM Role in Sumo Logic AWS Sources. |`string`| n/a | yes |
53
+
|<aname="input_wait_for_seconds"></a> [wait\_for\_seconds](#input\_wait\_for\_seconds)| wait\_for\_seconds is used to delay sumo logic source creation. This helps persisting IAM role in AWS system.<br> Default value is 180 seconds.<br> If the AWS IAM role is created outside the module, the value can be decreased to 1 second. |`number`|`180`| no |
36
54
37
55
## Outputs
38
56
39
57
| Name | Description |
40
58
|------|-------------|
41
-
| aws\_iam\_role | AWS IAM role with permission to allow Sumo Logic to read logs from S3 Bucket. |
|<aname="output_aws_iam_role"></a> [aws\_iam\_role](#output\_aws\_iam\_role)| AWS IAM role with permission to allow Sumo Logic to read logs from S3 Bucket. |
60
+
|<aname="output_random_string"></a> [random\_string](#output\_random\_string)| Random String value created. |
| <aname="input_sumologic_access_id"></a> [sumologic\_access\_id](#input\_sumologic\_access\_id)| Please provide access ID for your Sumo Account |`string`| n/a | yes |
27
+
| <aname="input_sumologic_access_key"></a> [sumologic\_access\_key](#input\_sumologic\_access\_key)| Please provide access key for your Sumo Account |`string`| n/a | yes |
| <aname="input_sumologic_organization_id"></a> [sumologic\_organization\_id](#input\_sumologic\_organization\_id)| Appears on the Account Overview page that displays information about your Sumo Logic organization. Used for IAM Role in Sumo Logic AWS Sources. |`string`| n/a | yes |
30
+
31
+
## Outputs
32
+
33
+
| Name | Description |
34
+
|------|-------------|
35
+
| <aname="output_cloudwatch_metrics"></a> [cloudwatch\_metrics](#output\_cloudwatch\_metrics)| All outputs related to CloudWatch metrics. |
####### BELOW ARE REQUIRED PARAMETERS FOR TERRAFORM SCRIPT #######
2
+
sumologic_environment="<YOUR SUMO DEPLOYMENT>"# Please replace <YOUR SUMO DEPLOYMENT> (including brackets) with au, ca, de, eu, jp, us2, in, fed or us1.
3
+
sumologic_organization_id="<YOUR SUMO ORG ID>"# Please replace <YOUR SUMO ORG ID> (including brackets) with your Sumo Logic Organization ID.
4
+
sumologic_access_id="<YOUR SUMO ACCESS ID>"# Please replace <YOUR SUMO ACCESS ID> (including brackets) with your Sumo Logic Access ID.
5
+
sumologic_access_key="<YOUR SUMO ACCESS KEY>"# Please replace <YOUR SUMO ACCESS KEY> (including brackets) with your Sumo Logic Access KEY.
description="Please provide access ID for your Sumo Account"
4
+
}
5
+
6
+
variable"sumologic_access_key" {
7
+
type=string
8
+
description="Please provide access key for your Sumo Account"
9
+
}
10
+
11
+
variable"sumologic_environment" {
12
+
type=string
13
+
description="Please provide SumoLogic deployment environment"
14
+
}
15
+
16
+
variable"sumologic_organization_id" {
17
+
type=string
18
+
description="Appears on the Account Overview page that displays information about your Sumo Logic organization. Used for IAM Role in Sumo Logic AWS Sources."
0 commit comments