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 |
50
+
|[aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region)| data source |
51
+
|[aws_serverlessapplicationrepository_application.app](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/serverlessapplicationrepository_application)| data source |
52
+
|[sumologic_caller_identity.current](https://registry.terraform.io/providers/SumoLogic/sumologic/latest/docs/data-sources/caller_identity)| data source |
53
+
54
+
## Inputs
55
+
56
+
| Name | Description | Type | Default | Required |
| <aname="input_app_semantic_version"></a> [app\_semantic\_version](#input\_app\_semantic\_version)| Provide the latest version of Serverless Application Repository 'sumologic-s3-logging-auto-enable'. |`string`|`"1.0.4"`| no |
59
+
| <aname="input_auto_enable_access_logs"></a> [auto\_enable\_access\_logs](#input\_auto\_enable\_access\_logs)| New - Automatically enables access logging for newly created ELB resources to collect logs for ELB resources. This does not affect ELB resources already collecting logs.<br> Existing - Automatically enables access logging for existing ELB resources to collect logs for ELB resources.<br> Both - Automatically enables access logging for new and existing ELB resources.<br> None - Skips Automatic access Logging enable for ELB resources. |`string`|`"Both"`| no |
60
+
| <aname="input_auto_enable_access_logs_options"></a> [auto\_enable\_access\_logs\_options](#input\_auto\_enable\_access\_logs\_options)| filter - provide a regex to filter the ELB for which access logs should be enabled. Empty means all resources. For eg :- 'Type': 'application'\|'type': 'application', will enable access logs for Application load balancer only.<br> remove\_on\_delete\_stack - provide true if you would like to disable access logging when you destroy the terraform resources. | <pre>object({<br> bucket_prefix = string<br> auto_enable_logging = string<br> filter = string<br> remove_on_delete_stack = bool<br> })</pre> | <pre>{<br> "auto_enable_logging": "",<br> "bucket_prefix": "",<br> "filter": "",<br> "remove_on_delete_stack": true<br>}</pre> | no |
61
+
| <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 Elb Collector <RandomID>",<br> "description": "This collector is created using Sumo Logic terraform AWS ELB module to collect AWS elb logs.",<br> "fields": {}<br>}</pre> | no |
62
+
| <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 |
| <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 |
65
+
| <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 |
66
+
67
+
## Outputs
68
+
69
+
| Name | Description |
70
+
|------|-------------|
71
+
| <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. |
72
+
| <aname="output_aws_s3_bucket"></a> [aws\_s3\_bucket](#output\_aws\_s3\_bucket)| AWS S3 Bucket name created to Store the ELB logs. |
73
+
| <aname="output_aws_s3_bucket_notification"></a> [aws\_s3\_bucket\_notification](#output\_aws\_s3\_bucket\_notification)| AWS S3 Bucket Notification attached to the AWS S3 Bucket |
74
+
| <aname="output_aws_serverlessapplicationrepository_cloudformation_stack"></a> [aws\_serverlessapplicationrepository\_cloudformation\_stack](#output\_aws\_serverlessapplicationrepository\_cloudformation\_stack)| AWS CloudFormation stack for ELB Auto Enable access logs. |
0 commit comments