Skip to content

Commit

Permalink
Add support for non cluster snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
lgallard committed Apr 1, 2023
1 parent 9704cdb commit 282710e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions cloudwatch.tf
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ resource "aws_cloudwatch_event_rule" "rdsSnapshotCreation" {
"aws.rds"
],
"detail-type": [
"RDS DB Snapshot Event",
"RDS DB Cluster Snapshot Event"
]
}
Expand Down
6 changes: 5 additions & 1 deletion identities.tf
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,11 @@ resource "aws_iam_policy" "rdsStartExportTaskLambda" {
"Version": "2012-10-17",
"Statement": [
{
"Action": "rds:StartExportTask",
"Action": [
"rds:StartExportTask",
"rds:DescribeDBSnapshots",
"rds:DescribeDBClusterSnapshots"
],
"Resource": "*",
"Effect": "Allow"
},
Expand Down

0 comments on commit 282710e

Please sign in to comment.