Skip to content

Commit

Permalink
workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
timburke-hackit committed Oct 31, 2023
1 parent 81eb3e9 commit 88b8903
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions terraform/modules/rds-snapshot-to-s3/iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,17 @@ data "aws_iam_policy_document" "rds_snapshot_s3_to_s3_copier_role_policy" {
var.target_bucket_kms_key_arn
]
}

statement {
actions = [
"glue:StartWorkflowRun"
]
effect = "Allow"
resources = [
var.workflow_arn,
var.backdated_workflow_arn
]
}
}

resource "aws_iam_policy" "rds_snapshot_s3_to_s3_copier_role_policy" {
Expand Down

0 comments on commit 88b8903

Please sign in to comment.