Skip to content

trussworks/terraform-aws-config-notifications

Enables AWS Config and configures any compliance changes or AWS Config service changes to be sent to an SNS topic.

Creates the following resources:

  • CloudWatch event rules to filter
    • AWS Config compliance changes
    • Changes to the AWS Config service
  • CloudWatch event targets to send notifications to an SNS topic

Usage

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

  sns_topic_name = "slack-events"
}

Requirements

Name Version
terraform >= 1.0
aws >= 3.0

Providers

Name Version
aws >= 3.0

Modules

No modules.

Resources

Name Type
aws_cloudwatch_event_rule.compliance_event resource
aws_cloudwatch_event_rule.config_event resource
aws_cloudwatch_event_target.compliance_event resource
aws_cloudwatch_event_target.config_event resource
aws_sns_topic.main data source

Inputs

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

Outputs

No outputs.