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
module "cloudtrail-event-notifications" {
source = "trussworks/cloudtrail-event-notifications/aws"
version = "1.0.0"
sns_topic_name = "slack-events"
}
Name | Description | Type | Default | Required |
---|---|---|---|---|
sns_topic_name | The name of the SNS topic to send CloudTrail event notifications. | string | n/a | yes |