EventBridge Module
Configuration in this directory creates eventbridge to send the aws events to your coralogix account.
Usage
module "eventbridge_coralogix" {
source = "github.com/coralogix/terraform-coralogix-aws//modules/eventbridge"
eventbridge_stream = var.coralogix_eventbridge_stream_name
role_name = var.eventbridge_role_name
private_key = var.coralogix_privatekey
coralogix_region = var.coralogix_region
custom_url = var.custom_url
sources = var.eventbridge_sources
application_name = var.application_name
policy_name = var.policy_name
}
- Override Coralogix applicationName:
The application name by default is the eventbridge delivery stream name, but it can be overriden by setting an environment variable called
application_name.
Coralogix account region
The coralogix region variable accepts one of the following regions:
- EU1
- EU2
- AP1
- AP2
- AP3
- US1
- US2
- Custom
Endpoints
| Region | Logs Endpoint |
|---|---|
| EU1 | https://ingress.eu1.coralogix.com/aws/event-bridge |
| EU2 | https://ingress.eu2.coralogix.com/aws/event-bridge |
| AP1 | https://ingress.ap1.coralogix.com/aws/event-bridge |
| AP2 | https://ingress.ap2.coralogix.com/aws/event-bridge |
| AP3 | https://ingress.ap3.coralogix.com/aws/event-bridge |
| US1 | https://ingress.us1.coralogix.com/aws/event-bridge |
| US2 | https://ingress.us2.coralogix.com/aws/event-bridge |
| Custom | https://ingress.<custom_domain>/aws/event-bridge |
Requirements
Providers
Resources
Inputs
Outputs
No outputs.
Events Sources
EC2
- AWS API call via cloudtrail
- EBS Fast Snapshot Restore State-change Notification
- EBS Multi-Volume Snapshots Completion Status
- EBS Snapshot Notification
- EBS Volume Notification
- EC2 AMI State Change
- EC2 Fast Launch State-change Notification
- EC2 Instance Rebalance Recommendation
- EC2 Instance State-change Notification
- EC2 Spot Instance Interruption Warning
- EC2 Spot Instance Request Fulfillment
AutoScaling
- AWS API call via cloudtrail
- Instance launch and terminate
- Instance refresh
Cloudwatch
- AWS API call via cloudtrail
- CloudWatch alarm state change
- CloudWatch alarm configuration change
Events
- AWS API call via cloudtrail
- EventBridge scheduled event
Health
- AWS API call via cloudtrail
- Specific health events
RDS
- AWS API call via cloudtrail
- DB cluster event
- DB cluster snapshot event
- DB instance event
- DB parameter group event
- DB security group event
- DB snapshot event
For further information on additional events sources and event types, see this AWS doc
Examples
Examples can be found under the examples directory
Last updated on