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
- Host: GitHub
- URL: https://github.com/trussworks/terraform-aws-rds-notifications
- Owner: trussworks
- License: bsd-3-clause
- Created: 2019-10-25T17:21:15.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2023-06-08T20:30:04.000Z (over 2 years ago)
- Last Synced: 2024-10-31T13:23:53.472Z (11 months ago)
- Topics: aws, aws-rds, terraform, terraform-modules
- Language: HCL
- Homepage: https://registry.terraform.io/modules/trussworks/rds-notifications
- Size: 17.6 KB
- Stars: 4
- Watchers: 9
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.