Skip to content

jasonawsid/terraform-aws-cloudtrail-event-notifications

 
 

Repository files navigation

Enables notifications for any changes to CloudTrail. Notifications are sent to an SNS topic.

Creates the following resources:

  • CloudWatch event rule to filter AWS CloudTrail API calls
  • CloudWatch event target to send to SNS topic

Usage

module "cloudtrail-event-notifications" {
  source  = "trussworks/cloudtrail-event-notifications/aws"
  version = "1.0.0"

  sns_topic_name = "slack-events"
}

Inputs

Name Description Type Default Required
sns_topic_name The name of the SNS topic to send CloudTrail event notifications. string n/a yes