This module has been deprecated and is no longer maintained. Should you need to continue to use it, please fork the repository. Thank you.
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"
}
Terraform 0.13 and later. Pin module version to ~> 3.X
. Submit pull-requests to master
branch.
Terraform 0.12. Pin module version to ~> 2.X
. Submit pull-requests to terraform012
branch.
Name | Version |
---|---|
terraform | >= 0.13.0 |
aws | >= 3.0 |
Name | Version |
---|---|
aws | >= 3.0 |
No modules.
Name | Type |
---|---|
aws_cloudwatch_event_rule.main | resource |
aws_cloudwatch_event_target.main | resource |
aws_sns_topic.main | data source |
Name | Description | Type | Default | Required |
---|---|---|---|---|
sns_topic_name | The name of the SNS topic to send CloudTrail event notifications. | string |
n/a | yes |
No outputs.