backup-notifications

binbashar/backup-notifications/aws

Terraform Module HCL AWS

Terraform module to enable notifications support on AWS Backup events.

Install
module "backup-notifications" {
source = "binbashar/backup-notifications/aws"
version = "0.0.1"
}
plain text: /constructs/tfmod-binbashar-backup-notifications-aws/install.txt
⭐ Source on GitHub 📦 Registry page
README

Terraform AWS Backup Notifications Terraform module to enable notifications support on AWS Backup events. Examples The following example shows how to use an existing SNS Topic to receive AWS Backups notifications: `` module "backup_example" { source = "./terraform-aws-backup-notifications" enabled = true backup_vault_events = [ "BACKUP_JOB_STARTED", "BACKUP_JOB_FAILED", "BACKUP_JOB_SUCCESSFUL", ] # You can either pass the ARN of an existing SNS Topic sns_topic_arn = aws_sns_topic.example.arn } ` And the following shows how to let the module create a new SNS Topic along with a list of subscriptors that will be notified about AWS Backup events: ` module "backup_example" { source = "./terraform-aws-backup-notifications" enabled = true backup_vault_events = [ "BACKUP_JOB_STARTED", "BACKUP_JOB_

Inputs (6)
NameTypeDescriptionDefault
sns_topic_arnstringAn optional SNS Topic ARN, should you choose to use an existing one.""
topic_subscriptionsmap(object({ # The protocoA map of subscriptions you would like to subscribe to the SNS topic.{}
enabledboolChange to false to avoid deploying any AWS Backup notification resources.true
backup_vault_namestringThe name of the AWS Backup Vault to which the notifications will be attached to."Default"
backup_vault_eventslistA list of backup events that you would like to be notified about. Leave it empty[]
sns_topic_namestringThe name of the SNS topic that will be created to receive AWS Backup Vault notif"backup-events"
Resources (4)
aws_backup_vault_notificationsaws_sns_topicaws_sns_topic_policyaws_sns_topic_subscription
Details
FrameworkTerraform Module
LanguageHCL
Version0.0.1
Cloud AWS
★ Stars1
Forks4
Total downloads5.7k
Inputs6
Resources4
LicenseMIT
Namespacebinbashar
Updated