An open API service indexing awesome lists of open source software.

https://github.com/trussworks/terraform-aws-rds-notifications

RDS Notifications
https://github.com/trussworks/terraform-aws-rds-notifications

aws aws-rds terraform terraform-modules

Last synced: 6 months ago
JSON representation

RDS Notifications

Awesome Lists containing this project

README

          

Enables notifications to an SNS topic when a RDS snapshot is copied or shared with another account.

Creates the following resources:

* CloudWatch event rule to filter AWS RDS changes (CopyDBSnapshot, CopyDBClusterSnapshot, ModifyDBSnapshot, ModifyDBSnapshotAttribute)
* CloudWatch event target to send to SNS topic formatted as `AWS RDS Change: `

## Usage

```hcl
module "rds-notifications" {
source = "trussworks/rds-notifications/aws"
version = "1.0.0"

sns_topic_name = "slack-events"
}
```

## Requirements

| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0 |
| [aws](#requirement\_aws) | >= 3.0 |

## Providers

| Name | Version |
|------|---------|
| [aws](#provider\_aws) | >= 3.0 |

## Modules

No modules.

## Resources

| Name | Type |
|------|------|
| [aws_cloudwatch_event_rule.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_rule) | resource |
| [aws_cloudwatch_event_target.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/cloudwatch_event_target) | resource |
| [aws_sns_topic.main](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/sns_topic) | data source |

## Inputs

| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [sns\_topic\_name](#input\_sns\_topic\_name) | The name of the SNS topic to send AWS RDS notifications. | `string` | n/a | yes |

## Outputs

No outputs.