FEATURES OPEN SOURCE ABOUT DOCS LOGIN REGISTER

aws_db_event_subscription

Provides a DB event subscription resource.

Example Usage

resource "aws_sns_topic" "default" {
  name = "rds-events"
}

resource "aws_db_event_subscription" "default" {
  name = "rds-event-sub"
  sns_topic = "${aws_sns_topic.default.arn}"
}

Argument Reference

The following arguments are supported:

Import

DB Event Subscriptions can be imported using the name, e.g.

$ terraform import aws_db_event_subscription.default rds-event-sub

See the source of this document at Terraform.io